Reactivate API Key
PUT
/api/v1/user/api-keys/{api_key_id}/reactivateReactivate 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
| Name | Location | Type | Description |
|---|---|---|---|
api_key_idrequired | path | integer | — |
authorization | header | object | — |
X-API-Key | header | object | — |
Responses
200Successful Responseapplication/jsonView schema
{
"type": "object",
"additionalProperties": true,
"title": "Response Reactivate Api Key Api V1 User Api Keys Api Key Id Reactivate Put"
}404Not found422Validation Errorapplication/jsonView schema
{
"$ref": "#/components/schemas/HTTPValidationError"
}