/management/wls/{version}/changeManager/cancelEdit

This resource cancels the current edit session.

The resource supports the following methods:

POST Method

The POST method on this resource cancels the current edit session, releases the edit lock, and discards saved or unsaved changes.

Roles

Administrator

Response Body

A success response body includes status messages returned by this operation.

Response Codes

This method returns one of the Standard HTTP Status Codes.

Example

Example 1   Stopping an Edit Session

This example uses the POST method to cancel the current edit session.

Example Request

curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X POST http://localhost:7001/management/wls/latest/changeManager/cancelEdit

Example Response

HTTP/1.1 200 OK

Response Body:
{"messages": [{
    "message": "Edit session has been cancelled successfully.",
    "severity": "SUCCESS"
}]}