v3 team members
Reassign administrator
Changed onReassign the administrator role to the user with user id {userId} with this user's team relation returned as a response. The current administrator is demoted to a manager.
Only the administrator can do this (401 thrown if anyone but administrator hits the endpoint).
400 thrown if administrator tries to update themselves.
patch/v3/teams/{teamId}/users/reassignAdmin/{userId}
Request
- Base URLhttps://api.resourcewatch.org
- URLhttps://api.resourcewatch.org/v3/teams/{teamId}/users/reassignAdmin/{userId}
- AuthHTTP bearer
Response
Example response
Changes
- info
endpoint added
- info