Stop automation session


A Stop automation session request stops a session in an automation server. The session must be in the running state before the server makes this call. If the session is not running, the server returns a 409 (Conflict) status. 

HTTP method and URI

POST /mvcm-api/api/automation/servers/{server-name}/sessions/{session-name}/operations/stop

Response body

Successful completion returns a 204 (No Content) status code.

Authorization requirements

The caller must have either the BMC AMI Console Management operator or administrator role.

Example request

POST /mvcm-api/api/automation/servers/ZOS_Systems/sessions/ABLE/operations/stop
x-api-session: {session id}

Example response

204 (No Content)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*