Skip to main content
DELETE
/
integrations
/
{integration_token}
Delete integration
curl --request DELETE \
  --url https://api.vantage.sh/v2/integrations/{integration_token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "provider": "AWS",
  "account_identifier": "011389-EF4C3E-3ED7AE",
  "status": "imported",
  "last_updated": "2023-08-04T00:00:00Z",
  "workspace_tokens": [
    "<string>"
  ],
  "created_at": "2023-08-04T00:00:00Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

integration_token
string
required

Response

Integration model

token
string
provider
string

The name of the Integration.

Example:

"AWS"

account_identifier
string

The account identifier. For GCP this is the billing Account ID, for Azure this is the account ID

Example:

"011389-EF4C3E-3ED7AE"

status
enum<string>

The status of the Integration. Can be 'connected', 'error', 'pending', 'importing', 'imported', or 'disconnected'.

Available options:
connected,
error,
pending,
importing,
imported,
disconnected
Example:

"imported"

last_updated
string

The date and time, in UTC, when the Integration was last updated. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

workspace_tokens
string[]

The tokens for any Workspaces that the account belongs to.

created_at
string

The date and time, in UTC, the Integration was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"