Permissions

Give a person a role directly

Changed on

Gives one person a custom role or Billing manager directly, without a team, replacing the role they were given directly before, or none with permissionSetId null. Pending invitations can be given a role too; it applies once they join. Their organization role (Member, Admin, Super admin) is changed separately (POST /v1/members/:memberId/role). You can't change your own, and you can only give a role whose permissions you all have yourself. Requires members.update.

put/v1/members/{memberId}/permission-set

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

memberId, string typeid required

Den TypeID with 'om_' prefix and a 26-character base32 suffix.

Request body

MemberPermissionSetBody required
permissionSetId, string typeid nullable required

Den TypeID with 'pms_' prefix and a 26-character base32 suffix.

Response

The person's directly given role was set; the role's current state is returned, or null when they have none.

MemberPermissionSetResponse required
set, PermissionSetDetail nullable required

Changes