+

Search Tips | Advanced Search

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


Runtime Lock (DELETE)

Forces the release of the transaction lock of a runtime.


Description

This API should not be used in normal operations.

Transactions are performed sequentually. Hence each transaction such as deploying an application or adapter takes the runtime lock. The next transaction waits until the lock is released. After a serious crash, it may happen that the lock is still taken even though the corresponding transaction crashed. The lock will get automatically released after 30 minutes. However, with this API, we can force the release of the lock earlier.

Forcing the release of the lock when a transaction is currently active may corrupt the system. You should use this API only when you are sure that no transaction is currently active.


Roles

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


Method

DELETE


Path

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


Example


Path Parameters


Query Parameters

Query parameters are optional.


Produces

application/json, application/xml, text/xml


Response


JSON Example


XML Example


Response Properties

The response has the following properties:


Errors

403

500

Parent topic: REST API for the MobileFirst Server administration service