PolicyTemplateService

CreatePolicyTemplate

Changed on

Creates a policy template.

post/v1/namespaces/{tenant_meta.namespace}/policy-templates

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/policy-templates
  • Auth
    none declared

Path parameters

tenant_meta.namespacestring required

Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".

Request body

propagateboolean

Whether the object should be visible in child namespaces or not.

tenant_metaobject

PolicyTemplates can be issued per namespace.

uuidstring

The UUID of the policy template.

Response

A successful response.

propagateboolean

Whether the object should be visible in child namespaces or not.

uuidstring

The UUID of the policy template.

Changes