Remove User from Device Group

Restriction: This API endpoint is not supported in the Free Trial cloud.

Remove a user from a device group.

Important: To be able to run this API endpoint, you need to be an Admin user.

URL

Copy
http://<your-cloud>.app.perfectomobile.com/api/v1/users/device-groups

Method

DELETE

Header parameters

Name

Description

Perfecto-Authorization

Security Token

Data parameters (body)

Parameter Type Default Description
username* string

The name of the user being added to the device group.

groupsNames* array of strings

The name of the device group or groups from which the user is being removed. At least one group is required.

* Mandatory parameter

Success response

Code: 200

Error response

Status and a generic error message

Example

Copy
JSON request
{
    "username":"<username>", 
    "groupsNames":["<groupName1>", "<groupName2>"] 
}