---
id: api-key-delete
title: "Remove an API key"
description: "Removes an API key by ID."
sidebar_label: "Remove an API key"
hide_title: true
hide_table_of_contents: true
api: eJzdVk1v4zYQ/SvEnHYB1XES56JbupuiKXoIsl50gSQIxuLY4oYiFXLoxhX03xdDKY4dB9320BaoD7I+hpw3b+ZxpgNNsQqmZeMdlHBNjV9TVOjU+dWleqCNWmzU5cfJrYMCfEsBxfJSQwnYmvsH2pSaLDFBAYyrCOUNjCsj3BUQqUrB8AbKmw4WhIHCeeIaypu7/q6AFgM2xBRiNnDYEJRgNBRgBE+LXEPxCuS8JpWceUykjCbHZmkoqKUPimt6xj0gDvSYTCANJYdEBcSqpgah7IA3bXblmFYUoC+AnrBpLUF5fHI6E3CBYutdpCj2J9OZ/B0i2ZKifseoYqoqinGZ7ET2nH35crjqgzXkWFEIPqitE6UTKfbKuDVao5VxbWLlg2pMjMat1AtXEyig8o7JseyObWtNlTEcfY3iojsM1C++UsV7lNxAZOQUP3gt6ct4oICGYsQVSfbaINGxGSjYsT4k8HWSfp7Pr9SwQlVekwrUBoqSLrfKiYotVWZpKlXt8vGOJqtJoWbTqVyO5XIql9l7iXqbo9l02gsJe1giB+NWB1DOVYNVbRz9EAg1LiyNvjIurpFVhUwrH8wfFAdsFNZSU2hsCrTnGRao74VEipzLJtP2F0AsgqFloerUoHtBsmOl/DI7H8DJds9s3MKPqNX14PQW5MVnh4nrDFnfwj45u9YC8Tmj3weptZFbtEoTo7FR4cInfoG170fqf6QiV3+DdulDQ1pldh2jcaS3Jb1bwX3+FXD2lkI+DfS/VohxOte5W8kBZWJMpLzbqj4aTf8zacRdIsZiOBNpnE1P5HK6n/iz/04VEmxwaO8Ho/uBsn9NH5ejezWWzoXYDEqRN6Yi9dnhGo2VXQ8E8+byf1Q6504lR08tVUx6DMlXVQqB9ERdWcJIisNG4QqNUxaZwrNqMi6uvXThbffNrbKEo7EtH3VG9yANWAIa2msKFkqomdtYHonhxCVrW4ssqp1UvoF+p2d/EqEM9b3bubdMyEYw9tR8MGYjKMabn3xokKGEX36bg2A2bullueAZSDueTCdTmRwMD6SMR1oWrNDf+sgNZtmOs8EwoewMKK8z0b3o/zvjzBgG0xMftRZN9pg56kY2b56HHCigNFp0X/vI8qHrFhjpc7B9L68fEwUZcu4KWGMwUmSZcm2i3Gsol2gj/QnWd9fj6fNe/Y0B580YxpfoBPcabZInKEACydNVf9cXUBNqChnl8OG8qqjlnSUHp6dUx7byPl78ejG/gAJwvyxelUF28Cairhss5v6BXN9vAbI8C8a+/wbJxqWp
sidebar_class_name: "delete api-method"
info_path: docs/api/authorization
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Remove an API key"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/api_key/{id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Removes an API key by ID.


<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"name":"id","in":"path","description":"The unique identifier for the API key.\n","required":true,"schema":{"type":"integer"},"example":1234}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"The operation was successful."},"4XX":{"description":"Client error responses due to invalid input or missing parameters.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific client error (e.g., 400, 401, 403, 404).","example":400},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"bad_request"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Bad Request\", \"Unauthorized\").","example":"Bad Request"},"message":{"type":"string","description":"Additional details about the error.","example":"The request was malformed or contained invalid parameters."}}}}}},"5XX":{"description":"Server error responses indicating an issue on the API side.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific server error (e.g., 500, 502, 503).","example":500},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"internal_server_error"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Internal Server Error\", \"Service Unavailable\").","example":"Internal Server Error"},"message":{"type":"string","description":"Additional details about the error.","example":"An unexpected error occurred. Please try again later."}}}}}}}}
>
  
</StatusCodes>


      