Update the role of a member in a group.
cURL
curl --request PUT \ --url https://api-v2.requesty.ai/v1/manage/group/{id}/member \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": "user-123", "role": "admin" } '
API key for authentication
The group ID
The ID of the user whose role should be updated
"user-123"
The new role to assign to the member
admin
member
"admin"
Member updated successfully
Was this page helpful?