Start of change

Delete the response for an action performed against a software services instance

The delete operation removes the response for an action that was performed against a software services instance.

HTTP method and URI path

DELETE /zosmf/provisioning/rest/<version>/scr/<object-id>/actions/<action-id>
In this request, the URI path variables are described, as follows:
  • <version> identifies the version of the provisioning service. The following value is valid: 1.0.
  • <object-id> identifies the software services instance to be deleted.
  • <action-id> identifies the action to be deleted.

Query parameters

None.

Description

This operation removes the response for an action that was performed against a software services instance.

Authorization requirements

The user’s z/OS user ID must have READ access to the following resource profile in the ZMFAPLA class: <SAF-prefix>.ZOSMF.PROVISIONING.SOFTWARE_SERVICES.

The user issuing the request must be the owner of the software services instance, or, for catalog registry type objects, a domain administrator of the software services instance, or, for general registry type objects, the landlord.

For more information, see Authorization requirements.

HTTP status codes

On successful completion, HTTP status code 204 Normal is returned.

Otherwise, the following HTTP status codes are returned for the indicated errors.

Table 1. HTTP error response codes for a delete action request
HTTP error status code Description
HTTP 401 Unauthorized The requester user ID is not authorized for this request.
HTTP 404 Not found The specified software services instance was not found because it does not exist.

Response content

On successful completion, the response body contains nothing.

If a failure occurs, the response body contains a JSON object with a description of the error.

Table 2. Response from a request failure
Field Type Description
httpStatus Integer HTTP status code.
requestMethod String HTTP request method.
requestUri String HTTP request URI.
messageID String Message identifier for the error.
messageText String Message text describing the error.
additionalInfo String Additional information describing the error.
debug String Debug information about for the error.

Example HTTP interaction

In the following example, the DELTE method is used to delete the response for an action that was performed against a software services instance.

Figure 1. Sample request to delete a response for a performed action
DELETE /zosmf/provisioning/rest/1.0/scr/b0d1806f-7d42-4b8d-ad4b-8b8747642cc3/actions/f5c4df98-f9fd-4fca-b1a5-e0d1b7d1f0d9

End of change