/v1/api/users/currentUser (GET) - BlueCat Edge - Service Point v4.x.x

BlueCat Edge User Guide

ft:locale
en-US
Product name
BlueCat Edge
Version
Service Point v4.x.x

Returns information about the user whose credentials were used to obtain the authorization token.

Request: GET https://api-<BlueCat.edge.url>/v1/api/users/currentUser
Authorization: Bearer authorization token

Response

200 OK
Content-Type: application/JSON
  {
   "email": "email@example.com",
   "firstTimeLogin": true,
   "name": "first/last name",
   "role": "ADMIN",    
   "status": "active",
   "id": "77f15595-9f74-4ad4-82a9-82433952de4e"
  }

Response on internal error

500 Internal server error
Content-Type: application/JSON
{"code": "code", "brief": "a message describing the error"}
Successful response code:
  • OK - Successful
Possible error codes:
  • UNAUTHORIZED - Token was invalid
  • INTERNAL SERVER ERROR - Unexpected error