Accounts
Get account policy
Changed onReturns the account-scoped policy applied to an account. accountPolicyId is omitted when no policy is applied.
get/v2/accounts/{accountId}/policy
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- AuthHTTP bearer
Path parameters
accountId, string required
The ID of the Account, which is a UUID prefixed by the string account_.
Example:account_af2937b0-9846-4fe7-bfe9-ccc22d935114
The ID of the account whose policy to get.
Response
Successfully got account policy.
Applied Account Policy required
The policy applied to an account, if any. accountPolicyId is omitted when no policy is applied.
accountId, string required
The ID of the Account, which is a UUID prefixed by the string account_.
accountPolicyId, string
The ID of an account-scoped policy.
Example response
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"accountPolicyId": "123e4567-e89b-12d3-a456-426614174000"
}Changes
- info
endpoint added
- info