org
Change a member's role.
Changed onSets a member's role; an organization always keeps at least one owner. Requires a user login, not an API key, and the members:write scope (owner or admin).
patch/v1/org/members/{id}/role
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The member's account id, as the roster reports it in userId
Request body
Response
Role changed; it takes effect on that person's next request.
Changes
- info
endpoint added
- info