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
Stack successfully created
The response is of type string<uuid>
.