Users
Get User
Get User associated with provided User id
GET
/
api
/
svc
/
v1
/
users
/
{id}
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/users/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"email": "<string>",
"userName": "<string>",
"tenantName": "<string>",
"metadata": {
"sub": "<string>",
"imageURL": "<string>",
"displayName": "<string>",
"userObject": {},
"inviteAccepted": true,
"preference": {}
},
"roles": [
"<string>"
],
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
User Id
Response
200
application/json
Returns the User associated with provided User id
User
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/users/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"email": "<string>",
"userName": "<string>",
"tenantName": "<string>",
"metadata": {
"sub": "<string>",
"imageURL": "<string>",
"displayName": "<string>",
"userObject": {},
"inviteAccepted": true,
"preference": {}
},
"roles": [
"<string>"
],
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}