curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/users/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"email": "<string>",
"tenantName": "<string>",
"metadata": {
"sub": "<string>",
"imageURL": "<string>",
"displayName": "<string>",
"userObject": {},
"inviteAccepted": true,
"registeredInIdp": true,
"preference": {},
"groups": [
"<string>"
],
"tenantRoleManagedBy": "manual",
"ssoName": "<string>",
"isPrimarySSO": true
},
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"roles": [
"<string>"
],
"rolesWithResource": [
{
"roleId": "<string>",
"resourceType": "role",
"resourceId": "<string>"
}
],
"accounts": [
{
"accountId": "<string>",
"name": "<string>"
}
]
}
}Get User associated with provided User id
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/users/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"email": "<string>",
"tenantName": "<string>",
"metadata": {
"sub": "<string>",
"imageURL": "<string>",
"displayName": "<string>",
"userObject": {},
"inviteAccepted": true,
"registeredInIdp": true,
"preference": {},
"groups": [
"<string>"
],
"tenantRoleManagedBy": "manual",
"ssoName": "<string>",
"isPrimarySSO": true
},
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"roles": [
"<string>"
],
"rolesWithResource": [
{
"roleId": "<string>",
"resourceType": "role",
"resourceId": "<string>"
}
],
"accounts": [
{
"accountId": "<string>",
"name": "<string>"
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
User Id
Returns the User associated with provided User id
User
Show child attributes
Show child attributes
manual, group, initial Show child attributes
role, account, cluster, workspace, environment, secret-group, deployment, application, secret, docker-registry, tenant, vcs-integration, mlf-project, provider-integration, team, service-account, llm-gateway, policy, settings, provider-account, user, alert-config, alert-rule, gateway-config, tracing-project, tracing-application, agent, agent-app, gateway-installation, virtual-account, sso-based-identity Was this page helpful?