Permissions
Give a person a role directly
Changed onGives 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 URLhttps://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
Member Permission Set Body 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.
Member Permission Set Response required
set, Permission Set Detail nullable required
Changes
- info
endpoint added
- info