GEThttps://api.spotinst.io/functions/alias/{ALIAS_ID}?accountId={ACCOUNT_ID}
List an alias
Parameter | Type | Description |
---|---|---|
ALIAS_ID * |
String |
The alias ID
Example:
fna-12345
|
ACCOUNT_ID |
String |
The account ID
Example:
act-12345
|
Request
Headers
{ "Content-Type": "application/json", "Authorization": "Bearer ${TOKEN}" }
Response - 200
Headers
{ "Content-Type": "application/json" }
Body
{ "id" : "fna-123", "environmentId" : "env-123", "host" : "google.com" }