Rotate Secret Key

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

Path Parameters

apiKeyId*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/api-keys/string/rotate"
{  "end": "string",  "id": "string",  "isPublic": true,  "name": "string",  "prefix": "string",  "projectId": "string",  "rawKey": "string"}
{  "_tag": "Api/ActionForbiddenError",  "message": "string"}
{  "_tag": "Api/ApiKeyNotFoundError",  "message": "string"}
{  "_tag": "Api/ApiKeyServiceError",  "cause": "string"}