Permissions

Renames 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 URL
    https://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

RenamePermissionSetBody required
name, string required

The role's new name.

Response

Role renamed; its current state is returned.

PermissionSetResponse required
set, PermissionSetDetail required

Changes

    • warning

      added the new billing_manager_default enum value to the set/kind response property for the response status

    • info

      added the required property set/directMemberIds to the response with the status

    • breaking

      added subschema #3 to the set/appliesTo response property oneOf list for the response status

    1 more change in this revision