Get current user
GET/authentication/me
Retrieves the current authenticated user.
Request
Responses
- 200
- 401
- 500
The current user is successfully returned.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
The ID of the user.
The system generated key of the user.
The display name of the user.
The applications the user is authorized to use.
tenants object[]
The tenants the user is a member of.
The ID of the tenant.
The name of the tenant.
The groups assigned to the user.
The roles assigned to the user.
The plan of the user.
c8Links object[]
The links to the components in the C8 stack.
The name of the component.
A link to the component.
Flag for understanding if the user is able to perform logout.
Flag for understanding if the user is an API user.
{
"userId": "string",
"userKey": 0,
"displayName": "string",
"authorizedApplications": [
"string"
],
"tenants": [
{
"tenantId": "string",
"name": "string"
}
],
"groups": [
"string"
],
"roles": [
"string"
],
"salesPlanType": "string",
"c8Links": [
{
"name": "string",
"link": "string"
}
],
"canLogout": true,
"apiUser": true
}
The request lacks valid authentication credentials.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}