Skip to main content
GET
/
api
/
v2
/
auth
/
me
cURL
curl --request GET \
  --url https://api.become1.de/api/v2/auth/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "dateCreated": "2023-11-07T05:31:56Z",
  "dateModified": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "roles": [
    "B1_ADMIN"
  ],
  "manageableCompanyIds": [
    "<array>"
  ],
  "manageableCompanies": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "dateDeleted": "2023-11-07T05:31:56Z",
  "companyId": "<string>",
  "employeeId": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "language": "B1_ADMIN",
  "groups": [
    "<array>"
  ],
  "dateRegistered": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
id
string
required

The unique primary key (UUID) of the entity.

dateCreated
string<date-time>
required
dateModified
string<date-time>
required
email
string
required
roles
enum<string>[]
required
Available options:
B1_ADMIN,
EMPLOYEE,
COMPANY_ADMIN,
FLEX_DOCUMENT_VERIFIER,
TECHNICAL_USER
manageableCompanyIds
array[] | null
required
manageableCompanies
object[] | null
required
dateDeleted
string<date-time> | null
companyId
string | null
employeeId
string | null
firstName
string | null
lastName
string | null
language
enum<string>
Available options:
B1_ADMIN,
EMPLOYEE,
COMPANY_ADMIN,
FLEX_DOCUMENT_VERIFIER,
TECHNICAL_USER
groups
array[] | null
dateRegistered
string<date-time> | null