Aktiválja újra az API-kulcsot
PUT
/api/v1/user/api-keys/{api_key_id}/reactivateReactivate 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év | Hely | Típus | Leírás |
|---|---|---|---|
api_key_idkötelező | path | integer | — |
authorization | header | object | — |
X-API-Key | header | object | — |
Válaszok
200Successful Responseapplication/jsonSéma megtekintése
{
"type": "object",
"additionalProperties": true,
"title": "Response Reactivate Api Key Api V1 User Api Keys Api Key Id Reactivate Put"
}404Not found422Validation Errorapplication/jsonSéma megtekintése
{
"$ref": "#/components/schemas/HTTPValidationError"
}