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

# Delete Public Key



## OpenAPI

````yaml /integrateio-openapi.yaml delete /user/keys/{key_id}
openapi: 3.0.3
info:
  title: Integrate.io (Xplenty) ETL API
  description: >
    The Integrate.io ETL API (formerly Xplenty) provides functions for
    controlling and monitoring

    clusters, jobs, packages, schedules, deliveries, connections, and account
    management.


    After defining a data processing package using the Integrate.io web
    application, you can call

    this API to create clusters, run jobs, monitor their progress, and terminate
    jobs and clusters.


    ## Authentication

    All API calls require your API key via HTTP Basic Authentication.

    Enter your API key as the **username** and leave the **password** blank.

    ```

    curl -u YOUR_API_KEY: https://api.xplenty.com/{account_id}/api/clusters

    ```


    ## API Versioning

    All requests must include the `Accept` header with the API version:

    ```

    Accept: application/vnd.xplenty+json; version=2

    ```

    Without this header, requests may be routed incorrectly and return `404`
    errors.


    ## Pagination

    Collection endpoints support `offset` and `limit` query parameters.

    Pagination info is provided via the `Link` header (RFC 5988).


    ## Rate Limits

    Each user is allocated 5,000 credits per hour. Most API calls cost 1 credit.

    Exceeding the limit returns a `429 Too Many Requests` response.
  version: '2.0'
  contact:
    name: Integrate.io Support
    url: https://www.integrate.io
  license:
    name: Proprietary
servers:
  - url: https://api.xplenty.com/{account_id}/api
    description: Production API
    variables:
      account_id:
        description: Your Integrate.io (Xplenty) account ID
        default: my-account
security:
  - apiKeyAuth: []
tags:
  - name: Clusters
    description: Create, manage, monitor, and terminate compute clusters
  - name: Jobs
    description: Run, monitor, and manage data processing jobs
  - name: Packages
    description: Manage data flow packages
  - name: Package Validations
    description: Validate package configurations
  - name: Schedules
    description: Create and manage recurring job schedules
  - name: Deliveries
    description: Manage data delivery blueprints
  - name: Connections
    description: Manage data source and destination connections
  - name: Accounts
    description: Manage Integrate.io accounts
  - name: Members
    description: Manage account members and roles
  - name: Users
    description: Manage authenticated user information
  - name: Public Keys
    description: Manage SSH public keys
  - name: Notifications
    description: View and manage user notifications
  - name: Hooks
    description: Manage webhooks for event notifications
  - name: System
    description: System information (regions, stacks, time zones, variables)
  - name: Billing
    description: Subscription, invoices, and payment methods
paths:
  /user/keys/{key_id}:
    parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: integer
    delete:
      tags:
        - Public Keys
      summary: Delete Public Key
      operationId: deletePublicKey
      parameters:
        - $ref: '#/components/parameters/acceptHeader'
      responses:
        '204':
          description: Key deleted
components:
  parameters:
    acceptHeader:
      name: Accept
      in: header
      required: true
      description: API version header — required on all requests
      schema:
        type: string
        default: application/vnd.xplenty+json; version=2
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: basic
      description: |
        Enter your API key as the username. Leave the password field blank.
        Example: `curl -u YOUR_API_KEY: https://api.xplenty.com/...`

````