End User Accounts
Get delegation for end user
Changed onReturns the active delegation for the specified end user, if one exists. This operation can be performed by the end user themselves or by a developer using their API key.
get/v2/embedded-wallet-api/end-users/{userId}/delegation
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
userId, string required
Example:e051beeb-7163-4527-a5b6-35e301529ff2
The ID of the end user.
Query parameters
projectID, string
Example:8e03978e-40d5-43e8-bc93-6894a57f9324
The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
Response
Active delegation found.
object required
expiresAt, string date-time required
The date until which the delegation is valid.
Example response
{
"expiresAt": "2026-02-03T10:35:00Z"
}Changes
- warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
2 more changes in this revision
- warning