Add a member to a group in your organization. The member will be assigned the specified role.
cURL
curl --request POST \ --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": "member" } '
API key for authentication
The group ID
The ID of the user to add to the group
"user-123"
The role to assign to the member
admin
member
"member"
Member added successfully
Was this page helpful?