Skip to main content
GET
Get the Ankra Cloud account of a credential

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

credential_id
string<uuid4>
required

Response

The account, or why it could not be read

The Ankra Cloud account an Ankra Cloud credential is connected to. Exactly one of account and account_error is set: account_error means the account is unknown, not that the credential has none.

credential_id
string<uuid>
required
account
object | null
required

The Ankra Cloud account the credential's API token acts in, read live from Ankra Cloud, with the Ankra platform organisation it is linked to (null when it is not); null when it could not be read.

account_error
string | null
required

Why the account could not be read: the stored token could not be read, Ankra Cloud refused it (with its reason), or Ankra Cloud did not answer. Never carries the token.