Software Secure Workload
Activity Configure

Disable enforcement for a single workspace

Disable enforcement on the workspace.

POST /openapi/v1/applications/{application_id}/disable_enforce


 

New host firewall rules will be inserted and any existing rules will be deleted on the relevant hosts.

Parameters: The request URL contains the following parameters

Name

Type

Description

application_id

string

The unique identifier for the workspace.

Response object: Returns an object with the following attributes:

Name

Type

Description

epoch

string

Unique identifier for the latest enforcement profile.

Sample python code


  application_id = '5d02b493755f0237a3d6e078'
  resp = restclient.post('/applications/%s/disable_enforce' %
                         application_id)