A JSON response body occurs in response to an asynchronous request that results in a 202 Accepted HTTP return code. This response body contains the job id. You can query the job resource instance to find out whether the job completed and to get the response to the asynchronous request. For a description of the job resource type, see the job topic in the Reference content.
The following example returns a job resource instance in response to a successful asynchronous DELETE request.
Request and response | Request and response example |
---|---|
Request |
DELETE https://1.2.3.4/api/rest/local_user/4?is_async=true |
Response |
{ "id": "476c903a-1bc2-4370-9a4b-426594ed9604" } |