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

# Remove an allowed origin from an API key

> Remove an allowed origin from an API key



## OpenAPI

````yaml /openapi.json delete /apikeys/{KeyId}/origins
openapi: 3.0.0
info:
  title: NestAPI
  version: '1.0'
servers:
  - description: Staging
    url: https://dev.api.nestapi.com
security: []
tags:
  - name: account
    description: API key and account management
  - name: ApiAdmin
  - name: auth
  - name: fairness
    description: >-
      Per-customer nesting-minutes fairness config, weights and usage (requires
      an Admin API key)
  - name: importer
  - name: nesting
    description: Submit nesting jobs, retrieve results and exports
  - name: public
    description: Health check and public utility endpoints
paths:
  /apikeys/{KeyId}/origins:
    parameters:
      - $ref: '#/components/parameters/Accept'
    delete:
      tags:
        - account
      summary: Remove an allowed origin from an API key
      description: Remove an allowed origin from an API key
      operationId: RemoveKeyAllowedOrigin
      parameters:
        - name: KeyId
          in: path
          required: true
          schema:
            type: string
        - name: Origin
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                title: List<String>
                type: array
                items:
                  type: string
      deprecated: false
      security:
        - Bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      description: Accept Header
      required: true
      schema:
        type: string
        enum:
          - application/json
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````