cURL
curl --request PATCH \ --url https://ageneral.ai/v1/projects/{project_id}/members/{user_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "projectId": "<string>", "userId": "<string>", "role": "<string>" } '
{ "projectId": "<string>", "userId": "<string>", "email": "<string>", "role": "<string>", "createdAt": "<string>" }
Ageneral session JWT. Obtain through web sign-in or extension OAuth.
Success