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": "[email protected]", "first_name": "<string>", "last_name": "<string>", "permissions": { "role": "owner" } }
Retrieve details of a specific user in the organization.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user
User details
Represents a user in an organization
The unique identifier of the user
The email address of the user
The first name of the user
The last name of the user
The roles assigned to the user in the organization
Show child attributes
The role to assign to the user in the organization. Available roles:
owner
admin
member
contributor
collaborator