---
title: "Set Credentials for Azure Tenant"
method: POST
path: "/azure/setup/tenant/credentials"
tags: ["Accounts"]
---

# Set Credentials for Azure Tenant

`POST /azure/setup/tenant/credentials`

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.

## Parameters

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

## Request body

- object
  - `clientId` string, required — Set the application ID
  - `clientSecret` string, required — Set the key secret
  - `tenantId` string, required — Set the directory ID
  - `expirationDate` string, date-time, required — Set the key secret expiration date

## Other responses

- `200` — unresolved $ref
- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
