patch
https://public.doubletick.io/team-member/role
Changes a team member's organization role, their role on one or more WhatsApp numbers, or both.
Before you call
- The API key's user needs permission to manage roles.
memberPhoneNumber(with country code) is required; sendorgRole,wabaRoles, or both.- Reference each role by exactly one of
roleIdorroleName, as returned by Get all roles. - Each
wabaRolesentry needs awabaNumber; the same number cannot appear twice.
How it works
- An invalid
orgRolefails the whole request; the organization owner's org role cannot be changed. wabaRolesentries apply independently: valid ones are listed underwabaRoles.added, failed ones underwabaRoles.erroredwith a reason.- If a
roleNamematches more than one role, that entry fails; useroleIdinstead. - Setting the role the member already has is not an error.
- The response returns
orgRoleIdandorgRoleNameonly whenorgRolewas sent.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

