Ugrás a fő tartalomhoz

Aktiválja újra az API-kulcsot

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

Reactivate an archived API key.

cURL példa

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

Paraméterek

NévHelyTípusLeírás
api_key_idkötelezőpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Válaszok

200Successful Response
application/json
Séma megtekintése
{
  "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
Séma megtekintése
{
  "$ref": "#/components/schemas/HTTPValidationError"
}