v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
workspace

Add Member To User Group

Adds a member of your workspace to the specified group. Requires group_members_manage permission.

post/v1/workspace/groups/{group_id}/members

Path parameters

group_idstring required

The ID of the target group.

The ID of the target group.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

emailstring required

The email of the target workspace member.

Response

Successful Response

statusstring required

The status of the workspace group member addition request. If the request was successful, the status will be 'ok'. Otherwise an error message with status 500 will be returned.

Example response

{
  "status": "ok"
}