curl --request PATCH \
--url https://api.avala.ai/api/v1/organizations/{slug}/teams/{team_slug}/members/{user_uid}/role/ \
--header 'Content-Type: application/json' \
--header 'X-Avala-Api-Key: <api-key>' \
--data '{
"role": "lead"
}'{
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"email": "jsmith@example.com",
"full_name": "<string>",
"picture": "<string>",
"role": "lead",
"created_at": "2023-11-07T05:31:56Z"
}Use this endpoint to update team member role in the Avala API using PATCH on /organizations//teams//members//role/.
curl --request PATCH \
--url https://api.avala.ai/api/v1/organizations/{slug}/teams/{team_slug}/members/{user_uid}/role/ \
--header 'Content-Type: application/json' \
--header 'X-Avala-Api-Key: <api-key>' \
--data '{
"role": "lead"
}'{
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"email": "jsmith@example.com",
"full_name": "<string>",
"picture": "<string>",
"role": "lead",
"created_at": "2023-11-07T05:31:56Z"
}API key for authentication. Generate one in Mission Control Settings > Security & Identity.
lead, member Was this page helpful?