Add members
To add one or more members to an existing group use below API.
info
{api-base-url}
can be obtained from the MirrorFly console.
#
HTTP request#
Request ParamsParam | DataType | Required | Description |
---|---|---|---|
groupId | String | Yes | Id of the group to add members |
groupMembers | Array of objects | Yes | List of members to be added to this group |
groupMembers.isAdmin | boolean | No | Whether to add this member as admin default value is false |
groupMembers.userId | String | Yes | UserId of the member to be added |
#
ResponsesIf successful, this action adds one or more provided members to this group.
#
ErrorIn the case of an error, an error object like below is returned.
When the token passed in Headers is expired
In the case of a Bad Request, an error message is returned