Start of change

Delete an approval for a software services template

You can use this operation to delete an approval that is associated with a software services template.

HTTP method and URI path

DELETE /zosmf/provisioning/rest/<version>/scc/<object-id>/approvals/
<approval-object-id>
In this request:
<version>
Is the URI path variable that identifies the version of the z/OSMF software services template service. The following value is valid: 1.0.
<object-id>
Identifies the software services template that the approval is associated with.
<approval-object-id>
Identifies the approval object to delete.

Query parameters

None.

Description

This operation deletes an approval that is associated with a software services template.

On successful completion, HTTP status code 204 (Successful) is returned.

The software services template must be in one of the draft states.

Request content

None.

Authorization requirements

The user's z/OS user ID must be defined as a landlord or a domain administrator.

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.

For more information, see Authorization requirements.

HTTP status codes

On successful completion, HTTP status code 204 (Successful) is returned.

Example HTTP interaction

In Figure 1, a request is submitted to delete an approval record for a software services template.
Figure 1. Sample request to delete an approval record for a software services template
DELETE https://localhost:4444/zosmf/provisioning/rest/1.0/scc/8abd70b5-ac74-4f4a-bc09-266bf7cf8270/approvals/
dacea656-ffbe-48ce-a193-575161ff9d43


End of change