v18

latestOpenAPI 3.1.0raw.githubusercontent.com2022-08-0421329.6 KB
v3 team members

Reassign administrator

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}

Response

Example response