> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domesystems.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Enrollment Token

> Device enrollment tokens (Dome for Mac). A workspace-admin credential —
 sibling of API keys. An admin mints a per-workspace token, distributes it
 via MDM, and a laptop presents it alongside a verified IdP login to enroll
 a device-bound agent. Admin-only (WsPermDeviceEnrollTokenManage); revoking a
 token is the fleet enrollment kill-switch.



## OpenAPI

````yaml POST /v1/enrollment-tokens
openapi: 3.0.3
info:
  title: Dome Platform API
  description: Connect and REST APIs for the Dome agent governance platform.
  version: 2.0.0
servers:
  - url: https://api.domesystems.ai
    description: Production
security: []
tags:
  - name: Agents
  - name: Authorization
  - name: Guards
  - name: Tools
  - name: Tool Catalog
  - name: Models
  - name: Model Pools
  - name: Quotas
  - name: Gateways
  - name: Webhooks
  - name: Audit
  - name: Workspaces
  - name: Access Control
  - name: Tenants
  - name: Platform Keys
  - name: Enrollment
  - name: Platform
  - name: Identity
paths:
  /v1/enrollment-tokens:
    post:
      tags:
        - Enrollment
      description: |-
        Device enrollment tokens (Dome for Mac). A workspace-admin credential —
         sibling of API keys. An admin mints a per-workspace token, distributes it
         via MDM, and a laptop presents it alongside a verified IdP login to enroll
         a device-bound agent. Admin-only (WsPermDeviceEnrollTokenManage); revoking a
         token is the fleet enrollment kill-switch.
      operationId: Management_CreateEnrollmentToken
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEnrollmentTokenRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateEnrollmentTokenResponse'
components:
  schemas:
    CreateEnrollmentTokenRequest:
      type: object
      properties:
        workspace_id:
          type: string
        name:
          type: string
        expires_at:
          type: string
          format: date-time
    CreateEnrollmentTokenResponse:
      type: object
      properties:
        token:
          type: string
          description: >-
            Raw enrollment token, disclosed once. Distributed via MDM
            mobileconfig.
        info:
          $ref: '#/components/schemas/EnrollmentTokenInfo'
    EnrollmentTokenInfo:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        created_by:
          type: string
        revoked:
          type: boolean
        created_at:
          type: string
          format: date-time
        expires_at:
          type: string
          format: date-time

````