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

BlueCat Edge User Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v3.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"
  }
Successful response code:
  • OK - Successful
Possible error codes:
  • UNAUTHORIZED - Missing or invalid token
  • INTERNAL SERVER ERROR - Unexpected error