> ## Documentation Index
> Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete an approval key

> <Badge color="blue" shape="pill">EA</Badge> Early Availability: this endpoint may change before GA.

Delete (revoke) an approval public key for the specified API user. The deletion may require approval: it always does for the API user's last key or another user's key. In that case the response carries `ccrIdPendingDeletion`, the key reads as `APPROVAL_API_KEY_STATUS_PENDING_DELETION` and stays active until the request is approved. A rejected request leaves the key enabled.

Endpoint Permission: Owner, Admin, Non-Signing Admin, Approver, Signer, Security Admin.



## OpenAPI

````yaml https://swagger.fireblocks.com/openapi.yaml delete /management/api_users/{userId}/approval_keys/{keyId}
openapi: 3.0.0
info:
  title: Fireblocks API
  description: >
    Fireblocks provides a suite of applications to manage digital asset
    operations and a complete development platform to build your business on the
    blockchain.


    - Visit our website for more information: [Fireblocks
    Website](https://fireblocks.com)

    - Visit our developer docs: [Fireblocks
    DevPortal](https://developers.fireblocks.com)
  version: 1.6.2
  contact:
    email: developers@fireblocks.com
servers:
  - url: https://api.fireblocks.io/v1
    description: Fireblocks Production Environment Base URL
  - url: https://sandbox-api.fireblocks.io/v1
    description: Fireblocks Sandbox Environment Base URL
security: []
paths:
  /management/api_users/{userId}/approval_keys/{keyId}:
    delete:
      tags:
        - Approvals
      summary: Delete an approval key
      description: >-
        <Badge color="blue" shape="pill">EA</Badge> Early Availability: this
        endpoint may change before GA.


        Delete (revoke) an approval public key for the specified API user. The
        deletion may require approval: it always does for the API user's last
        key or another user's key. In that case the response carries
        `ccrIdPendingDeletion`, the key reads as
        `APPROVAL_API_KEY_STATUS_PENDING_DELETION` and stays active until the
        request is approved. A rejected request leaves the key enabled.


        Endpoint Permission: Owner, Admin, Non-Signing Admin, Approver, Signer,
        Security Admin.
      operationId: deleteApprovalKey
      parameters:
        - $ref: '#/components/parameters/X-Idempotency-Key'
        - in: path
          name: userId
          required: true
          description: The ID of the API user whose approval key to delete.
          example: 8f3c1a2e-4b7d-4c91-a0e5-2d6f8b1c3a94
          schema:
            type: string
        - in: path
          name: keyId
          required: true
          description: The ID of the approval key to delete.
          example: fab543c0-d6be-414c-aa05-5c6c84269d7a
          schema:
            type: string
      responses:
        '200':
          description: The approval key was deleted, or its deletion is pending approval.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApprovalApiKeyResponse'
        '409':
          description: >-
            Another approval key request for this API user is already pending
            approval.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response:
            Promise<FireblocksResponse<DeleteApprovalApiKeyResponse>> =
            fireblocks.approvals.deleteApprovalKey(approvalsApiDeleteApprovalKeyRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<DeleteApprovalApiKeyResponse>>
            response = fireblocks.approvals().deleteApprovalKey(userId, keyId,
            idempotencyKey);
        - lang: Python
          source: >-
            response = fireblocks.approvals.delete_approval_key(user_id, key_id,
            idempotency_key);
components:
  parameters:
    X-Idempotency-Key:
      name: Idempotency-Key
      in: header
      description: >-
        A unique identifier for the request. If the request is sent multiple
        times with the same idempotency key, the server will return the same
        response as the first request. The idempotency key is valid for 24
        hours.
      required: false
      schema:
        type: string
  headers:
    X-Request-ID:
      schema:
        type: string
      description: >-
        Unique ID correlated to the API request. Please provide it in any
        support ticket you create or on Github issues related to Fireblocks SDKs
  schemas:
    DeleteApprovalApiKeyResponse:
      type: object
      description: The result of deleting an approval API key.
      properties:
        ccrIdPendingDeletion:
          type: string
          description: >-
            Always returned. An empty string when the key was deleted
            immediately. Otherwise, the ID of the approval request that must be
            approved before the key is removed; the key stays active until then.
            The request appears in `GET /v1/approvals`.
          example: '19332'
      required:
        - ccrIdPendingDeletion
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````