To start or stop a managed agent, the client should perform a PUT request on the management service instance, with a JSON state key in the request body.
Optionally, the request can include an If-Match header to make the action conditional on the management service instance not having changed.
Request syntax (with If-Match option):
The response includes an ETag and a task object that can be used to track progress. If the If-Match condition is not met (the management service has changed), the response code is 412: Precondition Failed.
Please sign in to leave a comment.