Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lamassuiot/lamassuiot/llms.txt
Use this file to discover all available pages before exploring further.
Get DMS Statistics
Retrieve statistics about DMS instances with optional filtering.
Filter expression to get statistics for specific DMS instances (e.g., name[eq]production, metadata.region[eq]us-east-1)
Response
Total number of DMS instances matching the filter
Example Request
curl -X GET "https://api.lamassu.io/api/dmsmanager/v1/v1/stats?filter=name[contains]prod" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Example Response
List DMS Instances
Retrieve a paginated list of all DMS instances.
Query Parameters
Number of results per page
Bookmark for pagination to retrieve the next page
Field name to sort by (e.g., name, creation_ts)
Filter expression for DMS instances
Response
Bookmark for the next page of results
Array of DMS objects
Custom metadata key-value pairs
DMS configuration settings including enrollment, re-enrollment, and CA distribution settings
Example Request
curl -X GET "https://api.lamassu.io/api/dmsmanager/v1/v1/dms?page_size=10&sort_by=name&sort_mode=asc" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Create DMS
Create a new DMS instance with enrollment configuration.
Request Body
Unique identifier for the DMS (optional, will be generated if not provided)
Human-readable name for the DMS
Custom metadata key-value pairs
DMS configuration settings
settings.issuance_profile_id
ID of the issuance profile to use for certificate generation
settings.enrollment_settings
Configuration for device enrollment
Enrollment protocol: EST_RFC7030
CA identifier for enrollment certificates
Registration mode: JITP (Just-In-Time Provisioning) or PRE_REGISTRATION
Whether to verify CSR signature
enable_replaceable_enrollment
Allow enrollment certificate replacement
settings.reenrollment_settings
Configuration for certificate re-enrollmentShow Re-enrollment Settings
Time window before expiration when re-enrollment is allowed
Preventive re-enrollment window
Critical re-enrollment window
Allow renewal of expired certificates
Revoke old certificate when re-enrolling
settings.server_keygen_settings
Server-side key generation configurationShow Server KeyGen Settings
Enable server-side key generation
Key algorithm type (e.g., RSA, ECDSA)
settings.ca_distribution_settings
CA certificate distribution configurationShow CA Distribution Settings
Include system CA certificates
Include enrollment CA certificate
Array of CA identifiers to include
Response
Returns the created DMS object with all settings and generated ID.
Example Request
curl -X POST "https://api.lamassu.io/api/dmsmanager/v1/v1/dms" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Production DMS",
"metadata": {
"region": "us-east-1",
"environment": "production"
},
"settings": {
"issuance_profile_id": "profile-123",
"enrollment_settings": {
"protocol": "EST_RFC7030",
"enrollment_ca": "ca-1",
"registration_mode": "JITP",
"verify_csr_signature": true,
"enable_replaceable_enrollment": false
},
"reenrollment_settings": {
"reenrollment_delta": "720h",
"enable_expired_renewal": false,
"revoke_on_reenrollment": true
},
"server_keygen_settings": {
"enabled": false
},
"ca_distribution_settings": {
"include_system_ca": true,
"include_enrollment_ca": true,
"managed_cas": []
}
}
}'
Get DMS by ID
Retrieve detailed information about a specific DMS instance.
Example Request
curl -X GET "https://api.lamassu.io/api/dmsmanager/v1/v1/dms/dms-123" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Update DMS
Update an existing DMS instance. This replaces the entire DMS configuration.
Request Body
Same structure as Create DMS. All settings will be replaced.
Example Request
curl -X PUT "https://api.lamassu.io/api/dmsmanager/v1/v1/dms/dms-123" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Production DMS",
"settings": { ... }
}'
Delete DMS
Delete a DMS instance.
Example Request
curl -X DELETE "https://api.lamassu.io/api/dmsmanager/v1/v1/dms/dms-123" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Response
Returns 204 No Content on success.
Replace all metadata for a DMS instance using JSON Patch operations.
Request Body
Array of JSON Patch operations
Operation type: add, remove, replace, move, copy, or test
JSON Pointer path to the field
Value for the operation (required for add, replace, test)
Source path for move and copy operations
Example Request
curl -X PUT "https://api.lamassu.io/api/dmsmanager/v1/v1/dms/dms-123/metadata" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patches": [
{
"op": "add",
"path": "/environment",
"value": "staging"
},
{
"op": "replace",
"path": "/region",
"value": "eu-west-1"
}
]
}'
Partially update metadata for a DMS instance using JSON Patch operations.
Request Body
Same as Update DMS Metadata.
Bind Identity to Device
Bind an identity certificate to a device.
Request Body
Binding mode specification
certificate_serial_number
Serial number of the certificate to bind
Response
Example Request
curl -X POST "https://api.lamassu.io/api/dmsmanager/v1/v1/dms/bind-identity" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"bind_mode": "explicit",
"device_id": "device-456",
"certificate_serial_number": "1234567890ABCDEF"
}'