Archív API-kulcs
DELETE
/api/v1/user/api-keys/{api_key_id}Archive an API key (soft delete).
cURL példa
curl -X DELETE \
'http://localhost:8000/api/v1/user/api-keys/{api_key_id}' \
-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 Archive Api Key Api V1 User Api Keys Api Key Id Delete"
}404Not found422Validation Errorapplication/jsonSéma megtekintése
{
"$ref": "#/components/schemas/HTTPValidationError"
}