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

# Delete API Key

> Delete an API key.

Permanently deletes the API key and revokes all associated access.
Requires the `delete:api_credentials` permission, available to users with a `member` or `owner` role in the organization that owns the application.

Returns:
    Object with deletion timestamp.



## OpenAPI

````yaml DELETE /api-keys/{api_key}
openapi: 3.1.0
info:
  title: Unomiq Management API
  description: >-

    API for managing settings for organizations, applications and API keys.


    ## Authentication


    All API endpoints require authentication via JWT token in the Authorization
    header:


    ```

    Authorization: Bearer <your_jwt_token>

    ```
        
  version: 1.0.0
servers:
  - url: https://management-api.unomiq.com
    description: Production
security: []
paths:
  /api-keys/{api_key}:
    delete:
      tags:
        - api-keys
      summary: Delete Api Key
      description: >-
        Delete an API key.


        Permanently deletes the API key and revokes all associated access.

        Requires the `delete:api_credentials` permission, available to users
        with a `member` or `owner` role in the organization that owns the
        application.


        Returns:
            Object with deletion timestamp.
      operationId: delete_api_key_api_keys__api_key__delete
      parameters:
        - name: api_key
          in: path
          required: true
          schema:
            type: string
            title: Api Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyDeleteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiKeyDeleteResponse:
      properties:
        message:
          type: string
          title: Message
        deleted_at:
          type: string
          title: Deleted At
      type: object
      required:
        - message
        - deleted_at
      title: ApiKeyDeleteResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````