rootKeys
Create root key
Changed onCreates a root key for the authenticated workspace. Requires unkey:v1:<workspace_id>:rootKeys/*#write. The created root key cannot have more permissions than the caller.
post/v2/rootKeys.createKey
Request
- Base URLhttps://api.unkey.com
- URLhttps://api.unkey.com/v2/rootKeys.createKey
- AuthHTTP bearer
Request body
Response
Root key created. Save the secret now; it cannot be retrieved later.
Example response
{
"meta": {
"requestId": "req_123"
}
}Changes
- info
added the new optional request property
- info
- info
endpoint added
- info