Conta

Consultar usuário da chave

Changed on

Devolve o usuário dono da chave. Serve para conferir, no início da integração, se a chave configurada é a esperada. Permissão: ADMIN.

get/auth/me

Request

Response

Usuário

namestring required
emailstring required
rolestring nullable

Hoje sempre null nesta rota.

emailPendingboolean

Hoje sempre false nesta rota.

Example response

{
  "name": "Maria Silva",
  "email": "maria@exemplo.com.br",
  "role": null,
  "emailPending": false
}

Changes

    • info

      api tag Conta added

    • info

      api tag account removed

    • info

      added the non-success response with the status

    • breaking

      the response property became optional for the status

    • breaking

      the response's property format changed from email to no format for status

    • breaking

      the response's property type changed from object to string for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      the endpoint scheme security bearerAuth was removed from the API

    • info

      the endpoint scheme security firebaseAuth was removed from the API

    • info

      api tag account added

    • info

      api tag auth removed

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status