Skip to main content
PUT
Update Managed User

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Required: a call without it is refused with 400. A key of your own that names this one request; a UUID is ideal. It is 8 to 50 characters of letters, digits, - and _. Send the same key again when you retry (after a timeout, a dropped connection or a 5xx) and the call is carried out once: the retry gets the first answer back, marked X-Idempotency-Cached: true. The same key with a different body is refused with 422, and a retry that arrives while the first call is still running with 409 (see Retry-After).

Required string length: 8 - 50
Pattern: ^[a-zA-Z0-9_-]{8,50}$
Example:

"9b2d6f0a-3c41-4e5a-8d77-1f2e3a4b5c6d"

Path Parameters

id
string<uuid>
required

ID of the managed user to update

Body

application/json
externalId
string

Updated external identifier for the managed user. Must be unique among the managed users you manage (409 otherwise).

Example:

"updated-external-user-123"

metadata
object

Updated additional metadata for the managed user

Example:
isActive
boolean

Switch the managed user off (false) or back on (true). A managed user that is off keeps everything already filed under it, and that content can still be listed, but nothing new can be filed under it (409 MANAGED_USER_INACTIVE). Send a real boolean, not the text "false". Switching a managed user off also ends all of its editor sessions.

Example:

false

Response

Managed user updated successfully

success
boolean
required

Always true on a success.

Example:

true

data
object
required

A managed user as the API answers. The answer names its fields in camelCase (externalId), and so does the request that creates or changes a managed user; the snake_case spelling (external_id) is read too.

Example:
meta
object

Extra information about the answer: where a page sits in a list, the cursor of the next page, or warnings about a call that succeeded with a caveat.