Permissions
Rename a role
Changed onRenames a team permission set (a custom role). Member, Admin and Super admin permissions keep their names, and archived sets can't be changed. Requires permissions.manage (only the owner has it by default), a recent sign-in.
patch/v1/permissions/sets/{permissionSetId}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
permissionSetId, string typeid required
Den TypeID with 'pms_' prefix and a 26-character base32 suffix.
Request body
Rename Permission Set Body required
name, string required
The role's new name.
Response
Role renamed; its current state is returned.
Permission Set Response required
set, Permission Set Detail required
Changes
- warning
added the new
billing_manager_defaultenum value to theset/kindresponse property for the response status - info
added the required property
set/directMemberIdsto the response with the status
- warning
- breaking
added
subschema #3to theset/appliesToresponse propertyoneOflist for the response status
1 more change in this revision
- breaking