AuthorizationPolicyService

CreateAuthorizationPolicy

Changed on

Creates an authorization policy for a given tenant.

post/v1/namespaces/{tenant_meta.namespace}/authorization-policies

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/authorization-policies
  • 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

Indicates that the object should be visible in the child namespaces.

tenant_metaobject required

Authorization policies are associated with a tenant.

uuidstring

The UUID of the AuthorizationPolicy resource.

Response

A successful response.

propagateboolean

Indicates that the object should be visible in the child namespaces.

uuidstring

The UUID of the AuthorizationPolicy resource.

Changes

    • warning

      added the new SYSTEM_ROLE_PACKAGE_FIREWALL_MANAGER enum value to the /// response property for the response status

    • info

      added the new SYSTEM_ROLE_PACKAGE_FIREWALL_MANAGER enum value to the request property ///