UpdateMember
UpdateMember changes another member’s role (update_mask role). The member’s sign-in carries the old role until it next refreshes, up to an hour. Nobody changes their own role.
Authentication
AuthorizationBearer
A team API key, sent as Authorization: Bearer <key>.
OR
AuthorizationBearer
The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.
Path parameters
id
Identifier of the resource, assigned by Edulead and opaque to callers.
Headers
Edulead-Team
Query parameters
update_mask
Which fields of the resource to change. Fields not listed keep their values.
Request
This endpoint expects an object.
id
Identifier of the resource, assigned by Edulead and opaque to callers.
email
given_name
Empty when the user gave none.
family_name
Empty when the user gave none.
role
MEMBER when the user has none recorded; MEMBER or OWNER on update. enum.defined_only = true
Allowed values:
grants
Permissions granted to this user beyond the role, in the order ListPermissions lists them; usually empty. Read only.
enabled
False once the user is disabled and can no longer sign in.
create_time
When Edulead created the resource.
update_time
When any field last changed.
Response
Success
member
Member is one user of the team.