Get account info from API key
Returns information about current account from API key.
Request schema
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Http + 1.1
GET
https://api.fivetran.com/v1/account/info
GET /v1/account/info HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Host: api.fivetran.com
Responses
200
Successful response
401
Invalid authorization credentials
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
account_id
stringrequired
The unique identifier for the account within the Fivetran system.
example:
system_key_id
string
The system ID from the API key. Returned if the system API key is used to authenticate the request.
example:
account_name
string
user_id
string
The user ID from the API key. Returned if the user API key is used to authenticate the request.
example:
{
"code": "Success",
"message": "Operation performed.",
"data": {
"account_id": "account_id",
"system_key_id": "system_key_id",
"account_name": "string",
"user_id": "user_id"
}
}