suspend warehouse

POST {{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false

Remove all compute nodes from a warehouse and put the warehouse into a ‘Suspended’ state if current warehouse is not suspended.

Request Params

KeyDatatypeRequiredDescription
ifExistsbooleanQuery parameter that specifies how to handle the request for a resource that does not exist:
  • true: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource.
  • false: The endpoint throws an error if the resource doesn't exist. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"status":"\u003cstring\u003e"}