Create a new policy
Create a new policy to apply rate limiting, access control, or accounting rules to an endpoint.Endpoint
Authentication
Requires tenant authentication via theX-Tenant-ID header or similar tenant identification mechanism.
Request body
Name for the policy
Policy type name. Available types:
rate_limit, accounting, accessConfiguration object matching the schema for the specified policy type. See policy types for available configuration options.
UUID of the endpoint to attach this policy to
Response
Returns the created policy with status code201.
Unique identifier (UUID) of the policy
Policy name
Policy type name
Policy configuration object
UUID of the endpoint this policy is attached to
Creation timestamp in ISO 8601 format
Last update timestamp in ISO 8601 format