rootKeys
Update root key
Changed onUpdates a root key in the authenticated workspace. Requires unkey:v1:<workspace_id>:rootKeys/<key_id>#write. Use rootKeys/*#write to update any root key in the workspace.
permissions replaces the complete permission set. Each permission must be a supported URN in the authenticated workspace and within the caller's permissions. An expiring root key can only update root keys that expire no later than itself.
post/v2/rootKeys.updateKey
Request
- Base URLhttps://api.unkey.com
- URLhttps://api.unkey.com/v2/rootKeys.updateKey
- AuthHTTP bearer
Request body
Response
Root key updated.
Example response
{
"meta": {
"requestId": "req_123"
}
}Changes
- info
added the new optional request property
- info
- info
endpoint added
- info