Get a user
GET/v1/users/:user_email
This route allows you to fetch a specific user in your Port organization.
To learn more about users, check out the documentation.
Requestโ
Path Parameters
user_email stringrequired
The email address of the user you want to fetch.
Responsesโ
- 200
Retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
okanyrequired
Possible values: [true
]
user
emailstring
firstNamestring
lastNamestring
picturestring
statusstring
idstring
typestring
providersstring[]
createdAtdate-time
updatedAtdate-time
orgs
object[]
idstringrequired
teamsstring[]
roles
object[]
namestringrequired
teamsIdentifiersstring[]
{
"ok": true,
"user": {
"email": "string",
"firstName": "string",
"lastName": "string",
"picture": "string",
"status": "string",
"id": "string",
"type": "string",
"providers": [
"string"
],
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"orgs": [
{
"id": "string"
}
],
"teams": [
"string"
],
"roles": [
{
"name": "string"
}
],
"teamsIdentifiers": [
"string"
]
}
}