Skip to main content
POST
Create Template

Authorizations

x-client-secret
string
header
required

Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.

Headers

x-client-id
string
required

Your client ID. This will be shared with you during onboarding.

x-destination-client-id
string

The client ID of the destination client. This is optional and only used by platform clients. See the Axle for Platforms guide for more information.

Body

application/json
displayName
string
required

User friendly name of the template.

rules
(Rule With No Input · object | Rule With Input · object)[]
required

A list of Rules to perform on the policy object.

metadata
object

Optional object to store custom information about the template. If provided, this value is returned in Get Template and Get Templates responses.

Response

success
boolean
required

Indicates whether the operation was performed successfully.

Example:

true

data
object
required