Skip to main content
POST
/
integrations
/
azure
Create Azure integration
curl --request POST \
  --url https://api.vantage.sh/v2/integrations/azure \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenant": "<string>",
  "app_id": "<string>",
  "password": "<string>"
}
'
{
  "token": "accss_crdntl_6eddcfaa81f7303f",
  "provider": "azure",
  "account_identifier": "fake-tenant",
  "status": "imported",
  "last_updated": null,
  "workspace_tokens": [],
  "created_at": "2024-07-29T21:41:48Z"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Create an Azure Integration

tenant
string
required

Azure AD Tenant ID.

app_id
string
required

Service Principal Application ID.

password
string
required

Service Principal Password.

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"