API tokens

The token this request presented: its account, name, role and expiry (the CLI's auth status).

get/tokens/current

Request

  • Base URL: https://www.livediagram.app/api
  • URL: https://www.livediagram.app/api/tokens/current
  • Auth: HTTP bearer

Response

Success.

accountIdstring required
accountNamestring nullable required
expiresAtnumber nullable required
role'full' | 'read-only' required
tokenIdstring required
tokenNamestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.