Keys
Remove Permissions
Remove one or more permissions from a key.
POST
/
v1
/
keys.removePermissions
To use this endpoint, your root key must have the rbac.*.remove_permission_from_key
permission.
Changelog
Date | Changes |
---|---|
Jul 08 2024 | Introduced endpoint |
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
keyId
string
requiredThe id of the key.
Minimum length:
1
permissions
object[]
requiredThe permissions you want to remove from this key.
Response
200 - application/json
The response is of type object
.
Was this page helpful?