API Key Management
Regenerate API Key
Generate a new API key value. The old key is immediately invalidated.
Authorization
BearerAuth AuthorizationBearer <token>
JWT token authentication for API key management
In: header
Path Parameters
key_id*string
API key ID
Format
uuidResponse Body
application/json
curl -X POST "https://api.brainus.lk/api/v1/dev/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08/regenerate"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"api_key": "sk_live_abc123...",
"created_at": "2019-08-24T14:15:22Z"
}Empty
Empty