People
Update member
Partially updates a member. Only provided fields will be updated. Supports both API key authentication (X-API-Key header) and session authentication (Bearer token or cookies).
patch/v1/people/{id}
Path parameters
idstring required
Example:mem_abc123def456
Member ID
Request body
Example request
{
"userId": "usr_abc123def456",
"role": "admin",
"department": "it",
"fleetDmLabelId": 123,
"jobTitle": "Software Engineer",
"name": "John Doe",
"email": "john@example.com",
"createdAt": "2024-01-15T00:00:00.000Z"
}Response
Member updated successfully
Example response
{
"id": "mem_abc123def456",
"organizationId": "org_abc123def456",
"userId": "usr_abc123def456",
"role": "admin",
"createdAt": "2024-01-01T00:00:00Z",
"department": "it",
"isActive": true,
"user": {
"id": "usr_abc123def456",
"name": "John Doe",
"email": "john.doe@company.com",
"emailVerified": true,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-15T00:00:00Z"
}
}