Get a user
GET
https://api.expirationreminder.net/v1/users/{id}Path Parameters
id
string
RequiredGET /v1/users/{id}
$ curl https://api.expirationreminder.net/v1/users/{id} \
-H "Authorization: Bearer <token>"
Responses
| Property | Type | Description |
|---|---|---|
name |
string |
- |
email |
string |
- |
id |
string (uuid) |
- |
team_id |
string (uuid) |
- |
roles |
string |
- |
role_type_id |
integer (int32) |
- |
Example Response
{
"name": "string",
"email": "string",
"id": "00000000-0000-0000-0000-000000000000",
"team_id": "00000000-0000-0000-0000-000000000000",
"roles": "string",
"role_type_id": 0
}Not Found
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}