Delete a working environment

Contributors netapp-ranuk Download PDF of this page

You can delete an existing Cloud Volumes ONTAP working environment.

1. Select the working environment to use

Perform the workflow Get working environments and choose the publicId value for the working environment used in the workingEnvironmentId path parameter.

2. Delete the working environment

HTTP method Path

DELETE

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

Curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/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)

Optional query parameters:

  • localDelete

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

  • forceDelete

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

    Output

    None