v3 team members

Reassign administrator

Changed on

Reassign 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 URL
    https://api.resourcewatch.org
  • URL
    https://api.resourcewatch.org/v3/teams/{teamId}/users/reassignAdmin/{userId}
  • Auth
    HTTP bearer

Response

Example response

Changes