Get details about authenticated user

get

/system/api/v1/me

Get the details about authenticated user from Identity Provider(IdP). ## Authorization Authenticated user can request the details from IdP.

Request

Supported Media Types
Query Parameters
  • The comma-seperated and case-insensitive strings that specifies the names of IDCS custom attributes that should be returned in the UserInfo response. By default, a response will contain only few predefined User's attributes. If a request specifies this query parameter, the response includes the attributes that this query parameter specifies along with the predefined User's attributes. Maximum number of custom attributes allowed in the query parameters is 20.
  • A boolean query parameter, which when set to true, include all the IDCS groups(Group's DisplayName and GUID) the user is part of, in the response.
  • A boolean query parameter, which when set to true, includes all the service specific IDCS Application roles the user is assigned to, in the response.
  • A boolean query parameter, which when set to true, include user's GUID from Realm in the response.
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : UserInfo
Type: object
Self-Management details.
Show Source
Nested Schema : customAttributes
Type: object
Object containing specified custom attributes and their values.
Nested Schema : idcsappRoles
Type: array
Array of IDCS Application roles, the user is part of.
Show Source
Nested Schema : membershipGroupsList
Type: array
Array of IDCS groups the user is part of. Each group entry contains group's DisplayName and it's IDCS ID.
Show Source
Nested Schema : Group
Type: object
IDCS group, the user is part of.
Show Source

304 Response

Not Modified
Body ()
Root Schema : ExceptionDetail
Type: object
Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.
Show Source
Nested Schema : o:errorDetails
Type: array
Multiple errors can be organized in a hierarchical structure.
Show Source
  • ExceptionDetail
    Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.

400 Response

Bad Request
Body ()
Root Schema : ExceptionDetail
Type: object
Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.
Show Source
Nested Schema : o:errorDetails
Type: array
Multiple errors can be organized in a hierarchical structure.
Show Source
  • ExceptionDetail
    Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.

404 Response

Not Found
Body ()
Root Schema : ExceptionDetail
Type: object
Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.
Show Source
Nested Schema : o:errorDetails
Type: array
Multiple errors can be organized in a hierarchical structure.
Show Source
  • ExceptionDetail
    Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.

500 Response

Internal Server Error
Body ()
Root Schema : ExceptionDetail
Type: object
Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.
Show Source
Nested Schema : o:errorDetails
Type: array
Multiple errors can be organized in a hierarchical structure.
Show Source
  • ExceptionDetail
    Error details for a REST request. In addition to HTTP error code and error messages, it is often desirable to provide additional information to the client when a request fails. In such these cases, the additional information must be included in the error response body. The additional information is optional, but if provided, it will be in the form of exception detail.
Back to Top