Software Secure Workload
Activity Configure

Get Policy Templates

This endpoint returns a list of policy templates for a particular root scope. This API is available to API keys with app_policy_management capability.

GET /openapi/v1/application_templates?root_app_scope_id={root_app_scope_id}

Parameters: The request URL contains the following parameters

Name

Type

Description

root_app_scope_id

string

The unique identifier of the root scope.

Response object: Returns a list of policy template objects for the specified root scope.

Sample python code


  root_app_scope_id = '<root-app-scope-id>'
  restclient.get('/application_templates?root_app_scope_id=%s' % root_app_scope_id)