Skip to main content
POST
/
projects
/
{project_id}
/
fleets
/
{fleet_id}
/
devices
/
{device_id}
/
enroll
Enroll a device into its fleet's integration namespace (operator surface — no account_id required)
curl --request POST \
  --url https://api.ilyama.golain.io/core/api/v1/projects/{project_id}/fleets/{fleet_id}/devices/{device_id}/enroll \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'ORG-ID: <api-key>' \
  --data '
{
  "display_name": "<string>",
  "enrollment_type": "<string>",
  "external_id": "<string>",
  "meta": {}
}
'
{
  "data": "<unknown>",
  "meta": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.ilyama.golain.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ORG-ID
string
header
required

Path Parameters

project_id
string<uuid>
required
fleet_id
string<uuid>
required
device_id
string<uuid>
required

Body

application/json
display_name
string
enrollment_type
string
external_id
string
meta
object

Response

Enrollment queued

Preferred shape for successful JSON responses is { ok, data, meta } with list metadata (e.g. pagination totals) in top-level meta, not nested under data.

data
any | null
required

Response payload; may be null for no-content successes.

meta
any | null
required

Top-level metadata (e.g. pagination); null when unused.

ok
enum<integer>
required
Available options:
1