Skip to main content
GET
/
organization
/
users
/
{user_id}
Python
from datagrid_ai import Datagrid

client = Datagrid(
    api_key="My API Key",
)
organization_user = client.organization.users.retrieve(
    "user_id",
)
print(organization_user.id)
{
  "id": "<string>",
  "email": "jsmith@example.com",
  "first_name": "<string>",
  "last_name": "<string>",
  "permissions": {
    "role": "owner"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

The ID of the user

Response

200 - application/json

User details

Represents a user in an organization

id
string
required

The unique identifier of the user

email
string<email>
required

The email address of the user

first_name
string
required

The first name of the user

last_name
string
required

The last name of the user

permissions
object
required

The roles assigned to the user in the organization

I