AlphaAlpha Docs

Rename API key

Updates the display name of an API key

PATCH
/api-key/{id}/name
AuthorizationBearer <token>

In: header

Path Parameters

id*string

The id of the API key to rename

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[key: string]?string

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/api-key/string/name" \  -H "Content-Type: application/json" \  -d '{    "property1": "string",    "property2": "string"  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}