+

Search Tips | Advanced Search

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


Application License Configuration (POST)

Deploys a license configuration for an application.


Description

A license configuration for an application

The method first checks whether the input deployable is valid. Then, it transfers the deployable to the database and to the runtime.

This transaction can run synchronously or asynchronously. If 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

POST


Path

/management-apis/2.0/runtimes/runtime-name/license


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 deployable.


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