subAccounts

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.

patch/v1/sub_accounts/{id}

Path parameters

idstring required

Sub-account ID

Headers

Authorizationstring required

Bearer authentication

Request body

enabledboolean required

Response

sub-account updated

object'sub_account' required
idstring uuid required
namestring required
external_idstring nullable required

Idempotency key supplied by the parent account, unique within that parent

enabledboolean required
productsstring[] required
created_atstring date-time required

Changes