Skip to main content
PUT
/
integrations
/
{integration_token}
Update integration
curl --request PUT \
  --url https://api.vantage.sh/v2/integrations/{integration_token} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  "<string>"
]'
{
  "token": "accss_crdntl_4de527c50afa4fd3",
  "provider": "gcp",
  "account_identifier": "project_id-e38a8e02",
  "status": "imported",
  "last_updated": "2024-07-30T15:30:22Z",
  "workspace_tokens": [
    "wrkspc_6bffe31969c9f385"
  ],
  "created_at": "2024-07-29T21:41:44Z"
}

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

Body

application/json

The Workspace tokens to associate to the Integration.

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"