Update a sub-account
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
id
Sub-account ID
Request
This endpoint expects an object.
enabled
Response
sub-account updated
object
id
name
external_id
Idempotency key supplied by the parent account, unique within that parent
enabled
products
created_at
Errors
403
Update Sub Account Request Forbidden Error
404
Update Sub Account Request Not Found Error