Adds a new member to the authenticated organization. The user must already exist in the system. Supports both API key authentication (X-API-Key header) and session authentication (cookies + X-Organization-Id header).
API key for authentication
Organization ID (required for session auth, optional for API key auth)
Member creation data
User ID to associate with this member
"usr_abc123def456"
Role for the member
"admin"
Member department
none, admin, gov, hr, it, itsm, qms "it"
Whether member is active
true
FleetDM label ID for member devices
123
Member created successfully
Member ID
"mem_abc123def456"
Organization ID this member belongs to
"org_abc123def456"
User ID associated with member
"usr_abc123def456"
Member role
"admin"
When the member was created
"2024-01-01T00:00:00Z"
Member department
none, admin, gov, hr, it, itsm, qms "it"
Whether member is active
true
FleetDM label ID for member devices
123
User information