Delete a group

To delete an existing group use below API.


{your-domain-name} can be obtained from the MirrorFly console.

HTTP request#

curl -X DELETE "https://{your-domain-name}/api/v1/group/delete?groupId=xxxxx"
-H "accept: */*"
-H "Authorization: xxxxxxxxxxxxxxxxxx"

Request Params#

groupIdStringYesId of the group to be deleted


If successful, this action deletes the given group.

"status": 200,
"data": "groupid Group deleted successfully",
"message": "Group deleted successfully"


In the case of an error, an error object like below is returned.

When the token passed in Headers is expired

"status": 401,
"message": "Token Expired"

In the case of a Bad Request, an error message is returned

"status": 400,
"message": "Error Message"