AccountService
Accounts

Retrieves the current account for the token accessing the API

Changed on

Retrieves the current account for the token accessing the API. Useful to check if the credentials are valid.

get/v1/account

Request

  • Base URL
    https://api.cadenya.com
  • URL
    https://api.cadenya.com/v1/account
  • Auth
    HTTP bearer

Response

OK

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  },
  "spec": {
    "workspaces": [
      {
        "metadata": {
          "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
          "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
        }
      }
    ]
  }
}

Changes