POST
/
rentals
/
{rentalId}
/
stacks
curl --request POST \
  --url https://restapi.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
  }
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"

Authorizations

X-API-Key
string
header
required

Path Parameters

rentalId
string
required

Rental ID

Body

application/json
template
object
required

Response

201
application/json
Stack successfully created

The response is of type string.