Get Logged-in Users - GET /MyProfile (v2.0 and up)
Owned by David P (Deactivated)
Get details of the currently logged-in users.
Usage:
- GET /MyProfile and get details of the currently logged-in users
PUT /MyProfile and update the user details.
URL
/cxrestapi/auth/MyProfile
Method:
GET
Media Type (header):
Authorization: Bearer <access token value>
Accept: application/json;v=1.0
Parameters
None
Success Response:
Code: 200 Success
Error Response:
Code: 401 Unauthorized
Code: 403 Forbidden
Sample Response:
{
"id": 1,
"userName": "admin",
"firstName": "Inigo",
"lastName": "Montoya",
"email": "admin@cx.com",
"phoneNumber": "",
"cellPhoneNumber": "",
"jobTitle": "",
"other": "",
"country": "",
"localeId": 1,
"teams": "Avengers1",
"authenticationProviderId": 1
}
Notes:
Retrieves details of the currently logged-in users. Locale Id (localeId) is used in the System Locales API and the Authentication Provider Id (authenticationProviderId) is used in the /wiki/spaces/IP/pages/597753900. If the request fails, it returns an error response.
Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to us. We appreciate your feedback!