curl --request POST \
--url https://api.gputrader.io/v1/rentals/{rentalId}/stacks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"template": {
"name": "<string>",
"description": "<string>",
"content": "<string>",
"environmentVariables": {},
"insecure": false,
"isBasicAuthEnabled": false,
"isSSHEnabled": false
}
}
'"3c90c3cc-0d44-4b50-8888-8dd25736052a"Create a new stack within a rental
curl --request POST \
--url https://api.gputrader.io/v1/rentals/{rentalId}/stacks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"template": {
"name": "<string>",
"description": "<string>",
"content": "<string>",
"environmentVariables": {},
"insecure": false,
"isBasicAuthEnabled": false,
"isSSHEnabled": false
}
}
'"3c90c3cc-0d44-4b50-8888-8dd25736052a"Rental ID
Show child attributes
Stack template name
Stack template description
Stack template content
Tunnel insecure flag
Tunnel basic auth flag
Enable SSH connection flag
Stack successfully created
The response is of type string<uuid>.