/v1/accounts/{account}/capabilities/{capability}Update an account capability
Updates an existing account capability by requesting or removing it. Pass requested as true to request a new capability for the account — there may be a delay before the capability becomes active, and the response includes any activation requirements. Pass requested as false to remove a non-permanent capability.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The unique identifier of the account that owns the capability.
The unique identifier of the capability to update.
Capability update request. All fields are optional.
Specifies which fields in the response should be expanded.
To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the requirements arrays.
If a capability isn't permanent, you can remove it from the account by passing false. Some capabilities are permanent after they've been requested. Attempting to remove a permanent capability returns an error.
The account for which the capability enables functionality.
The identifier for the capability.
String representing the object's type. Objects of the same type share the same value.
Whether the capability has been requested.
Time at which the capability was requested. Measured in seconds since the Unix epoch.
The status of the capability.
account and capability must identify an existing capability belonging to the specified account.