Skip to main content
POST
Materialize an arbitrary, operator-chosen list of seeded templates

Authorizations

Authorization
string
header
required

An Earnie API key, sent as Authorization: Bearer sk_earnie_.... Create one under Settings > API keys. The key's scopes decide which operations it may call.

Path Parameters

projectId
string<uuid>
required

Body

application/json
template_slugs
string[]
required

Seeded template slugs, in the order the operator picked them.

Required array length: 1 - 50 elements
enabled
boolean
default:false

Whether newly created policies start enabled. The picker creates drafts.

Response

One policy per requested slug, in requested order

policies
object[]
required