subAccounts

Update a sub-account

Changed on

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}

Request

Path parameters

idstring required

Sub-account ID

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

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security bearer_auth was added to the API

    • info

      api operation id updateSubAccount removed and replaced with subAccounts_updateSubAccount