Start of change

Archive a software services template

You can use this operation to archive a published software services template.

HTTP method and URI path

POST /zosmf/provisioning/rest/<version>/scc/<object-id>/actions/archive
In this request
<object-id>
Identifies the software services template to be archived.
<version>
Is the URI path variable <version> that identifies the version of the z/OSMF software services template service. The following value is valid: 1.0.

Query parameters

None.

Description

This operation lets you archive a software services template. This puts the software services template in an archived state.

The software services template must be in a published state.

On successful completion, HTTP status code 204 (Normal) is returned, indicating that the archive was successful.

Request content

None.

Authorization requirements

The user's z/OS user ID must be defined as a landlord and 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 (Normal) is returned.

Response content

None.

Example HTTP interaction

In Figure 1, a request is submitted to archive a software services template.
Figure 1. Sample request to archive a software services template
 POST https://localhost:4444/zosmf/provisioning/rest/1.0/scc/1234-1223-23232/actions/archive

The following is the response body for the request.

Figure 2. Sample response body
204 No Content

End of change