Openi DeveloperDeveloper

Rotate API key (tenant)

POST
/v1/api-keys/{id}/rotate

Authorization

ApiKeyAuth
x-api-key<token>

Tenant API key

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "label": "string",  "scopes": [],  "active": true,  "created_at": "2019-08-24T14:15:22Z",  "key": "string"}