Software Secure Workload
Activity Configure

Delete Workspace Version

This endpoint will remove the given version including clusters and policies. Enforced or Analyzed versions can not be deleted. If members are referenced by another workspace, through an external policy, the response will return error with a list of the references.

DELETE /openapi/v1/applications/{application_id}/versions/{version}

Parameters: The request URL contains the following parameters

Name

Type

Description

application_id

string

The unique identifier for the workspace.

version

string

A version in the form of ‘v10’ or ‘p10’.

Response object: None

Sample python code


  application_id = '5d02b493755f0237a3d6e078'
  version = 'v10'
  resp = restclient.delete('/applications/%s/versions/%s' %
                           (application_id, version))