Skip to main content
POST
Create Template Route

Body

application/json
name
string
required
Required string length: 1 - 100
target
string
required
Required string length: 1 - 1024
fun
string
required
Required string length: 1 - 128
description
string
default:""
Maximum string length: 500
target_type
enum<string>
default:glob
Available options:
glob,
list,
pcre,
grain,
nodegroup,
compound
args
string[]
kwargs
Kwargs · object
is_shared
boolean
default:false

Response

Successful Response

name
string
required
Required string length: 1 - 100
target
string
required
Required string length: 1 - 1024
fun
string
required
Required string length: 1 - 128
id
string<uuid>
required
owner_user_id
string<uuid>
required
owner_username
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string
default:""
Maximum string length: 500
target_type
enum<string>
default:glob
Available options:
glob,
list,
pcre,
grain,
nodegroup,
compound
args
string[]
kwargs
Kwargs · object
is_shared
boolean
default:false