latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Accounts

Set Credentials for Azure Tenant

Link a Spot to an Azure Cloud tenant. This is used to set up credentials at the tenant level which are utilized for Azure Savings Plan and Reservation utilization.

post/azure/setup/tenant/credentials

Parameters

#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref

Request body

clientIdstring required

Set the application ID

clientSecretstring required

Set the key secret

tenantIdstring required

Set the directory ID

expirationDatestring date-time required

Set the key secret expiration date

Example request

{
  "clientSecret": "32431r2431434132",
  "tenantId": "1321e1e3123er23",
  "expirationDate": "2025-12-31T23:59:00.000Z"
}

Response

— unresolved $ref