GET
/
admin
/
users
/
{userId}
curl --request GET \
  --url https://api.portkey.ai/admin/users/{userId} \
  --header 'x-portkey-api-key: <api-key>'
{
  "object": "user",
  "id": "61e08f60-4822-465e-ba23-39f85cd741cb",
  "first_name": "horace",
  "last_name": "slughorn",
  "role": "member",
  "email": "[email protected]",
  "created_at": "2024-01-25 11:35:07",
  "last_updated_at": "2024-01-25 11:35:07",
  "workspace_ids": [
    "ws-shared-123"
  ]
}

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

userId
string
required

Response

200 - application/json
OK

The response is of type object.