---
title: "Revoke account-scoped delegation for end user"
method: POST
path: "/v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation/revoke"
tags: ["End User Accounts"]
---

# Revoke account-scoped delegation for end user

`POST /v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation/revoke`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/embedded-wallet-api/end-users/{userId}/address/{address}/delegation/revoke`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Revokes the active account-scoped delegation for the specified end user account. Other account-scoped delegations for the same user are unaffected. This operation can be performed by the end user themselves or by a developer using their API key.
When the address corresponds to an EVM Smart Account, this revokes the delegation for the Smart Account's owner EOA.

## Path parameters

- `userId` string, required
- `address` string, required: A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).

## Query parameters

- `projectID` string

## Headers

- `X-Wallet-Auth` string
- `X-Developer-Auth` string
- `X-Idempotency-Key` string

## Request body

- RevokeDelegationRequest: The request body for revoking a user-scoped or account-scoped delegation.
  - `walletSecretId` string: When revoking with a wallet authentication scheme, the ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.

## Response `204`

Delegation revoked successfully.

## Other responses

- `401`: Unauthorized.
- `404`: Delegation not found.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 5 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `404`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `500`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `502`
  - …1 more
- **2026-10-16** `ff3c1fdef902`: 5 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `404`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `500`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `502`
  - …1 more
- **2026-10-06** `156440e9f8df`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/embedded-wallet-api/end-users/:userId/address/:address/delegation/revoke/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
