Permissions
Create A Permission
POST
/
v1
/
permissions.createPermission
To use this endpoint, your root key must have the rbac.*.create_permission
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
name
string
requiredThe unique name of your permission.
Minimum length:
3
description
string
Explain what this permission does. This is just for your team, your users will not see this.
Response
200 - application/json
permissionId
string
requiredThe id of the permission. This is used internally
Was this page helpful?