POST devices/{deviceId}/blacklist

Adds a new application to the specified device's blacklist. Please note that changing the blacklist using this method does not send the list to the device. After the blacklist is assembled, you need to post a ApplicationBlacklistConfigurationOperation, which will then gather this list and synchronize it with the client.

Request Information

Parameters

NameDescriptionAdditional information
deviceId
The device's identifier.

Define this parameter in the request URI.

application
The application to add to the blacklist.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "alias": "My Android App",
  "packageName": "com.example.myandroidapp"
}

Response Information

A task representing the asynchronous work.

Response body formats

application/json, text/json

Sample:
{
  "alias": "My Android App",
  "id": 1,
  "packageName": "com.example.myandroidapp"
}