🔗 Console REST APIAPI Keys

Rename API key

Updates the display name of an API key

PATCH
/api/apikeys/rename

Authorization

headerAuthorization<token>

API Key is required to access the endpoints

Request Body

  1. body
id?string
Formatuuid
displayName?string|null

Response Body

Successfully renamed API key

  1. response
id?string
Formatuuid
apikey?string|null
productName?string|null
created?string
Formatdate-time
lastUpdate?string
Formatdate-time
lastUsedSeconds?|
Formatint64
expirationTime?|
Formatdate-time
isActive?boolean
displayName?string|null
jwtAlgorithm?string|null
jwtFingerprint?string|null
emailOfCreator?string|null
keyType?string|null
curl -X PATCH 'https://api-console.apibricks.io/api/apikeys/rename' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "apikey": "string",  "productName": "string",  "created": "2019-08-24T14:15:22Z",  "lastUpdate": "2019-08-24T14:15:22Z",  "lastUsedSeconds": 0,  "expirationTime": "2019-08-24T14:15:22Z",  "isActive": true,  "displayName": "string",  "jwtAlgorithm": "string",  "jwtFingerprint": "string",  "emailOfCreator": "string",  "keyType": "string"}