Keys
Add Roles
Add one or more roles to a key.
POST
Adds roles to a key. Existing roles are not removed.
To use this endpoint, your root key must have the rbac.*.add_role_to_key
and potentially the rbac.*.create_role
permissions.
Changelog
Date | Changes |
---|---|
Jul 08 2024 | Introduced endpoint |
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
All currently connected roles
The response is of type object[]
.