/instances/{id}/update

Changed on

Update mutable details about the instance. Set a value to null to delete it. Omit a value or leave undefined to keep unchanged.

post/instances/{id}/update

Request

  • Base URL
    https://api.shadeform.ai/v1
  • URL
    https://api.shadeform.ai/v1/instances/{id}/update
  • Auth
    API key in header X-API-KEY

Request body

namestring

The name of the instance

tagsTag[]

Add custom, searchable tags to instances.

Example request

{
  "name": "cool-gpu-server",
  "auto_delete": {
    "date_threshold": "2006-01-02T15:04:05-07:00",
    "spend_threshold": "3.14"
  },
  "alert": {
    "date_threshold": "2006-01-02T15:04:05-07:00",
    "spend_threshold": "3.14"
  },
  "tags": [
    "tag1"
  ]
}

Response

Confirms the update of an instance.

Changes