Delete a working environment

Contributors netapp-ranuk

You can delete an existing GCP Cloud Volumes ONTAP working environment.

Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:

Delete working environment for single node

You can use this workflow to delete a single node working environment.

1. Select the working environment

Perform the workflow Get working environment and choose the publicId value of the working environment for the workingEnvironmentId path parameter.

2. Delete the working environment

HTTP method Path

DELETE

/occm/api/gcp/vsa/working-environments/{workingEnvironmentId}

curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/vsa/working-environments/<WORKING_ENV_ID>' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Input
  • Path parameter <WORKING_ENV_ID> (workingEnvironmentId) string

  • (Optional) Query parameters:

    • localDelete boolean

      If true the Cloud Volumes ONTAP instance in the cloud is not terminated, but Cloud Manager no longer manages it (default is false).

      If false the Cloud Volumes ONTAP instance is deleted including all the cloud resources created for this working environment.

    • forceDelete boolean

      If true the working environment is deleted even if it is part of one or more SnapMirror relationships (default is false).

Output

None

Delete working environment for high availability pair

You can use this workflow to delete an HA working environment.

1. Select the working environment

Perform the workflow Get working environment and choose the publicId value of the working environment for the workingEnvironmentId path parameter.

2. Delete the working environment

HTTP method Path

DELETE

/occm/api/gcp/ha/working-environments/{workingEnvironmentId}

curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/ha/working-environments/<WORKING_ENV_ID>' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Input
  • Path parameter <WORKING_ENV_ID> (workingEnvironmentId) string

  • (Optional) Query parameters:

    • localDelete boolean

      If true the Cloud Volumes ONTAP instance in the cloud is not terminated, but Cloud Manager no longer manages it (default is false). If false the Cloud Volumes ONTAP instance is deleted including all the cloud resources created for this working environment.

    • forceDelete boolean

      If true the working environment is deleted even if it is part of one or more SnapMirror relationships (default is false).

Output

None