Environments
Update an environment listing
Environments
- GETGet favorite status of environment listing
- POSTUpdate favorite status of environment listing
- DELRemove favorite status from environment listing
- POSTCreate a hold on an environment listing
- DELRemove a hold on an environment listing
- GETGet environment listing
- PATCHUpdate an environment listing
- GETGet environment details
- DELDelete environment
- PATCHUpdate environment
- GETGet environment installation script
- GETGet environment usage
- GETGet available filters for environment listings
- GETGet environment listings
- GETGet all environments
- POSTCreate a new environment
Rentals
- GETGet rental
- DELEnd rental
- PATCHUpdate rental
- GETGet container logs
- POSTCreate terminal instance
- GETGet container tunnel information
- GETList containers
- DELDelete stack
- GETList stacks
- POSTCreate stack
- POSTCreate rental checkout session
- GETList rentals
- POSTCreate a new rental
- GETList rentals with a specific status
Templates
Users
- DELDelete API key
- GETList API keys
- POSTCreate API key
- GETGet current user
- GETGet user notification
- DELDelete user notification
- PATCHUpdate user notification status
- GETGet user notifications
- GETGet user notifications by status
- PATCHUpdate user preferences
- GETGet user redirect URL
- POSTCreate SSH key
- DELDelete SSH key
Environments
Update an environment listing
Update the listing details for a specific environment
PATCH
/
environments
/
{envId}
/
listing
curl --request PATCH \
--url https://restapi.gputrader.io/v1/environments/{envId}/listing \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"availabilityWindows": [
{
"start": "<string>",
"end": "<string>"
}
],
"pricing": {
"pricePerGpu": 123
},
"isListed": true,
"type": "<string>"
}'
"<string>"
Authorizations
Path Parameters
Environment ID
Body
application/json
Response
200
application/json
Environment listing successfully updated
Confirmation of successful update
curl --request PATCH \
--url https://restapi.gputrader.io/v1/environments/{envId}/listing \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"availabilityWindows": [
{
"start": "<string>",
"end": "<string>"
}
],
"pricing": {
"pricePerGpu": 123
},
"isListed": true,
"type": "<string>"
}'
"<string>"