Retrieve user
GEThttps:/api.openai.com/v1/organization/users/{user_id}
Retrieves a user by their identifier.
Path parameters
user_id
string
Required
The ID of the user.
Response
The User object matching the specified ID.
Example request
1 curl https://api.openai.com/v1/organization/users/user_abc \2 -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \3 -H "Content-Type: application/json"
Example response
1 {2 "object": "organization.user",3 "id": "user_abc",4 "name": "First Last",5 "email": "user@example.com",6 "role": "owner",7 "added_at": 17114715338 }
Built with