Get an admin by ID
GET/v2/admins/{id}
Retrieves a single admin by their unique identifier.
Returns the admin object if found and they belong to your organization.
Response
Returns an admin object with:
id- Unique admin identifiername- Admin’s display nameemail- Admin’s email addresspicture- Profile picture URLroleId- ID of the role assigned to this admin
Errors
404- Admin not found or doesn’t belong to your organization
Get an admin by ID
curl https://do.featurebase.app/v2/admins/$ID \
-H "Authorization: Bearer $FEATUREBASE_API_KEY"{
"id": "5fef50c5e9458a0012f82456",
"object": "admin",
"email": "john@example.com",
"name": "John Doe",
"profilePicture": "https://example.com/avatar.png",
"roleId": "6648f22b7b23fb2f4307aafe"
}Returns Examples
{
"id": "5fef50c5e9458a0012f82456",
"object": "admin",
"email": "john@example.com",
"name": "John Doe",
"profilePicture": "https://example.com/avatar.png",
"roleId": "6648f22b7b23fb2f4307aafe"
}