Skip to content

Get organization member

GET
/api/v1/organizations/{orgId}/members/{userId}
curl --request GET \
--url http://localhost:3000/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'X-API-Key: <X-API-Key>'

Retrieves details of a specific organization member.

userId
required
string format: uuid

User UUID

orgId
required
string format: uuid

Organization UUID

Member retrieved successfully

Media type application/json
object
id
required

Unique user identifier

string format: uuid
email
required

User email address

string format: email
name

User display name

string
active
required

Whether the user account is active

boolean
emailVerified
required

Whether the user email has been verified

boolean
isSuperAdmin
required

Whether the user is a super admin with platform-wide privileges

boolean
createdAt
required

When the user was created

string format: date-time
updatedAt
required

When the user was last updated

string format: date-time
lastLoginAt

When the user last logged in

string format: date-time
organizations
required

List of organizations the user belongs to

Array<object>
object
organizationId
required

Organization UUID

string format: uuid
organizationName
required

Organization display name

string
organizationSlug
required

Organization URL-friendly slug

string
roleId
required

Role UUID

string format: uuid
roleName
required

Role display name

string
permissions
required

List of permissions granted by this role

Array<string>
Example
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "john.doe@example.com",
"name": "John Doe",
"active": true,
"emailVerified": true,
"isSuperAdmin": false,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-06-20T14:45:00Z",
"lastLoginAt": "2024-12-20T09:15:00Z",
"organizations": [
{
"organizationId": "550e8400-e29b-41d4-a716-446655440001",
"organizationName": "Acme Corporation",
"organizationSlug": "acme-corp",
"roleId": "550e8400-e29b-41d4-a716-446655440002",
"roleName": "Administrator",
"permissions": [
"devices:read",
"devices:write",
"deployments:read"
]
}
]
}

Unauthorized

Forbidden - Insufficient permissions

Member not found