fbpx
POSThttps://api.spotinst.io/azure/setup/credentials/validation?accountId={ACCOUNT_ID}

Validate the credentials for connecting a Spotinst account to an Azure Cloud account.

The validation will test the credentials without actually set it.

Please notice to run the set credentials request to perform the set Azure account credentials.

ParameterTypeDescription
ACCOUNT_ID * String

The Account id you want to set

Default: act-12345
Request

Headers
Content-Type: application/json
Authorization: Bearer ${token}
Body
Copied!
Downloaded!
{
	"clientId":"111111111",
	"clientSecret":"32431r2431434132",
	"tenantId":"1321e1e3123er23",
	"subscriptionId":"234r3141131"
}
AttributeTypeDescription
clientId * String

Set the application ID

clientSecret * String

Set the key secret

tenantId * String

Set the directory ID

subscriptionId * String

Set the subscription ID

Response

Headers
Content-Type: application/json
Body
Copied!
Downloaded!
{
    "request": {
        "id": "8a8a3f88-7620-4783-bf00-953e0b8892fe",
        "url": "/azure/setup/credentials/validation?accountId=act-123456",
        "method": "POST",
        "timestamp": "2019-10-17T10:43:54.421Z"
    },
    "response": {
        "status": {
            "code": 200,
            "message": "OK"
        }
    }
}