Skip to content

Update central flock record

PATCH
/api/v1/flocks/{identifier}/central

Update fields in the central flock record using JSON Patch operations. By default operates in dry-run mode to preview changes.

identifier
required
string
Example
myflock

Flock identifier (bucket name)

object
operations
Array<object>
object
op
string
Allowed values: add replace remove
path
string
value

Value for add/replace operations

dry_run
boolean
default: true

Update result

object
data
object
dry_run
boolean
applied
boolean
changes
Array<object>
object
op
string
path
string
before

Value before change

after

Value after change

Bad request - invalid input

object
error
object
code

Error code

string
Allowed values: BAD_REQUEST UNAUTHORIZED NOT_FOUND CONFLICT INTERNAL_ERROR
message

Human-readable error message

string

Unauthorized - missing or invalid credentials

object
error
object
code

Error code

string
Allowed values: BAD_REQUEST UNAUTHORIZED NOT_FOUND CONFLICT INTERNAL_ERROR
message

Human-readable error message

string

Resource not found

object
error
object
code

Error code

string
Allowed values: BAD_REQUEST UNAUTHORIZED NOT_FOUND CONFLICT INTERNAL_ERROR
message

Human-readable error message

string