Authorizations
Body
Request model to update an existing role.
The name of the role.
"Prompt Engineer"
The permissions associated with the role. Available permissions can be found by calling GET /permissions
.
[
"prompts_read",
"prompts_write",
"prompts_delete"
]
The internal ID of the role.
1
The description of the role.
"Role for users who can fetch and change prompts"
Comments for the most recent edit to the role.
"Updated to add delete permission"
Response
Successful Response
Information about a role.
The name of the role.
"Prompt Engineer"
The permissions associated with the role. Available permissions can be found by calling GET /permissions
.
[
"prompts_read",
"prompts_write",
"prompts_delete"
]
The internal ID of the role.
1
Whether this is a built-in system role that cannot be updated or deleted
false
The timestamp of the most recent update to the role
The email of the user who last updated the role
"user@email.com"
The description of the role.
"Role for users who can fetch and change prompts"
Comments for the most recent edit to the role.
"Updated to add delete permission"