curl --request GET \
--url https://api.getcargo.io/v1/workspaceManagement/users/{uuid} \
--header 'Authorization: Bearer <token>'{
"user": {
"uuid": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"picture": "<string>",
"lastSignInAt": "<string>",
"createdAt": "<string>",
"workspaceUuid": "<string>",
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
],
"role": {
"uuid": "<string>",
"slug": "<string>",
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
],
"workspaceUuid": "<string>",
"createdAt": "<string>"
}
}
}Get a user by UUID
curl --request GET \
--url https://api.getcargo.io/v1/workspaceManagement/users/{uuid} \
--header 'Authorization: Bearer <token>'{
"user": {
"uuid": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"picture": "<string>",
"lastSignInAt": "<string>",
"createdAt": "<string>",
"workspaceUuid": "<string>",
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
],
"role": {
"uuid": "<string>",
"slug": "<string>",
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
],
"workspaceUuid": "<string>",
"createdAt": "<string>"
}
}
}Was this page helpful?