Team

Make a member an admin or an admin a member

Changes a team member's role between member and admin. Only the account owner can grant or remove the admin role, and must have confirmed their email address; the owner's own role never changes. Demoting an admin also cancels the invitations they sent. Requires the write scope; confirm with the user first.

post/team/members/{user_id}

Request

  • Base URL: https://adslighthouse.com/api/v1
  • URL: https://adslighthouse.com/api/v1/team/members/{user_id}
  • Auth: HTTP bearer

Path parameters

user_idstring required

The member's user_id from list_team.

Request body

role'member' | 'admin' required

Response

Make a member an admin or an admin a member

request_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.