+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Device Application Status (PUT)

Changes the status of a specific application on a specific device.


Description

An application can be marked as enabled or disabled for a specific device. Disabled applications cannot access the server.

This transaction can run synchronously or asynchronously. If the transaction is processed asynchronously, the REST service returns before the transaction is completed. In this case, we can query the transaction result later by using the transaction REST service.


Roles

Users in the following roles are authorized to perform this operation:


Method

PUT


Path

/management-apis/2.0/runtimes/runtime-name/devices/device-id/applications/application-name


Example


Path Parameters


Query Parameters

Query parameters are optional.


Consumes

application/json


Produces

application/json, application/xml, text/xml


Payload


JSON Example


Payload Properties

The payload has the following properties:


Response

The metadata of the transaction.


JSON Example


XML Example


Response Properties

The response has the following properties:

The transaction has the following properties:

The description has the following properties:

The error has the following properties:

The project has the following properties:


Errors

400

403

404

500

Parent topic: REST API for the MobileFirst Server administration service