Update a sub-account

Activates or deactivates a sub-account. Deactivation causes every API key belonging to the sub-account to return 401, while retaining its data and keys. Re-enabling restores access.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

Sub-account ID

Request

This endpoint expects an object.
enabledbooleanRequired

Response

sub-account updated

objectenum
idstringformat: "uuid"
namestring
external_idstring or null
Idempotency key supplied by the parent account, unique within that parent
enabledboolean
productslist of strings
created_atdatetime

Errors

403
Update Sub Account Request Forbidden Error
404
Update Sub Account Request Not Found Error