Skip to main content

Archive API Key

DELETE/api/v1/user/api-keys/{api_key_id}

Archive an API key (soft delete).

cURL example

curl -X DELETE \
  'https://app.intracord.hu/api/v1/user/api-keys/{api_key_id}' \
  -H "X-API-Key: $INTRACORD_API_KEY"

Parameters

NameLocationTypeDescription
api_key_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

200Successful Response
application/json
View schema
{
  "type": "object",
  "additionalProperties": true,
  "title": "Response Archive Api Key Api V1 User Api Keys  Api Key Id  Delete"
}
404Not found
422Validation Error
application/json
View schema
{
  "properties": {
    "detail": {
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}