Skip to main content
POST
CreateAgentHookPolicyDefinition

Path Parameters

tenant_meta.namespace
string
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".

Body

application/json

AgentHookPolicyDefinition is a top-level CRUD object that stores a single AgentHookPolicy alongside standard metadata.

meta
object
required

Common fields for all Endor Labs resources.

propagate
boolean

Object can be propagated to child namespaces. Global objects are visible to all namespaces.

spec
object
tenant_meta
AgentHookPolicyDefinitions are associated with a tenant or are global. · object

AgentHookPolicyDefinitions are associated with a tenant or are global.

Response

A successful response.

AgentHookPolicyDefinition is a top-level CRUD object that stores a single AgentHookPolicy alongside standard metadata.

meta
object
required

Common fields for all Endor Labs resources.

propagate
boolean

Object can be propagated to child namespaces. Global objects are visible to all namespaces.

spec
object
tenant_meta
object

Tenant related data for the tenant containing the resource.

uuid
string
read-only

The UUID of an AgentHookPolicyDefinition.