Skip to main content

Reactivate API Key

PUT/api/v1/user/api-keys/{api_key_id}/reactivate

Reactivate an archived API key.

cURL example

curl -X PUT \
  'http://localhost:8000/api/v1/user/api-keys/{api_key_id}/reactivate' \
  -H 'Authorization: Bearer <API_KEY>'

Parameters

NameLocationTypeDescription
api_key_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

200Successful Response
application/json
View schema
{
  "type": "object",
  "additionalProperties": true,
  "title": "Response Reactivate Api Key Api V1 User Api Keys  Api Key Id  Reactivate Put"
}
404Not found
422Validation Error
application/json
View schema
{
  "$ref": "#/components/schemas/HTTPValidationError"
}