For the complete documentation index, see llms.txt. This page is also available as Markdown.

updateteammember

description

Updates an existing team member's role. This endpoint only allows role changes and cannot modify other member information.

parameters

The X-Auth-Token and X-User-Id are derived from the values authToken and userId returned from the login endpoint and are used in the HTTP header.

teamID - required, the team ID.

userID - required, the user ID of the team member to update.

role - required, the new role for the team member. Valid values are "admin" or "member".

Resource

{
	"teamID":"<team ID>",
	"userID":"<user ID of team member>",
	"role": "<new member role>"
}

response

Returns the status of the request

example

You should get back:


Last updated