Execute Policy

Execute policy will return a unique job id the status of the policy can be checked using the Job details api where you can pass the unique id generated to get the details or errors if any on execution

Path Params
string
required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

string
required

Specify the policy id to execute, policy id can be obtained from the list policy api

Body Params
args
object
required

arguments to execute policy for example values can be in the below format {'listOfAllowedSKUs':['Basic_A0']} or {'requiredRetentionDays':'365','effect':'AuditIfNotExists'} etc.The values are dynamic in nature can change from policy to policy.The arguments required can be changed in the policy content in the view policy api

cloud_accounts
array of objects
required

cloud account details to execute the policy

cloud_accounts*
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json