Make admin
To make one or more group members as admin 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 |
groupMembers | Array of strings | Yes | List of members(UserIds) to be made admin to this group |
#
ResponsesIf successful, this action creates a group and adds provided members to it.
#
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