Skip to main content
POST
Create an enrolment and return the key an installer carries, once. Each machine that runs the

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Create an enrolment and return the key an installer carries, once. Each machine that runs the installer exchanges this key for a source and a key of its own; the enrolment says how many may, of which platforms, until when, and whether each waits for approval. Collectors wait by default. Requires itam.source.create and admin.api_key.create.

p_name
string<text>
required
p_source_kind
string<text>
required
p_expires_in_days
integer<integer>
p_max_sources
integer<integer>
p_platforms
string[]
p_requires_approval
boolean<boolean>
p_site_id
string<uuid>
p_source_key_days
integer<integer>

Response

200

OK