Start of change

Delete a WLM resource pool

Use this operation to delete the record for a WLM resource pool.

HTTP method and URI path

DELETE /zosmf/zwlm/rest/wrps/wrpid

In this request, wrpid is the identifier of the WLM resource pool.

Query parameters

None.

Description

This operation:
  • Removes a WLM resource pool record from the persistent file for WLM resource pools
  • Deprovisions the report class in the current installed service definition if it is not referenced by any other classification rule
  • Deletes the WLM resource pool record from the WLM Resource Pool page of the z/OSMF Workload Management task.

On successful completion, a response body that describes the request is returned.

For a description of the response content, see Response content.

Request content

None.

Authorization requirements

See Required authorizations.

HTTP status codes

For a successful request, the response body is provided, as described in Request content.

For a list of status codes, see Error handling.

Response content

On completion, the service returns a response body, which contains a JSON object. For a description of fields in the JSON object, see Table 1.

Table 1. Response content for a delete WLM resource pool request
Field name Description
status Status of the request.
return-code Return code of the request.
message Message issued for the request.

Example HTTP interaction

  1. The example in Figure 1 shows a request to delete a WLM resource pool.
    Figure 1. Sample request to issue a delete WLM resource pool request
    DELETE  https://host:port/zosmf/zwlm/rest/wrps/1090f34e-0a5a-4506-b553-91e932a46f3e

    The following is the response body for the successful request.

    Figure 2. Sample response body
    {
      “status”:”success',
      “return-code”:”0”,
      “message”:null
    }

End of change