Skip to main content
DELETE
/
api
/
v0
/
endptjobs
/
{id}
delete endpoint
curl --request DELETE \
  --url https://console.vast.ai/api/v0/endptjobs/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "deleted_workers": [
    1001,
    1002
  ],
  "failed_workers": [],
  "msg": "Deleted endpoint job and 2 workers"
}

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-fix-google-validation-docs-404s.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the endpoint group to delete

Example:

4242

Response

Endpoint group successfully deleted

success
boolean
Example:

true

deleted_workers
integer[]

List of worker instances that were deleted (if any)

Example:
[1001, 1002]
failed_workers
integer[]

List of worker instances that failed to delete (if any)

Example:
[]
msg
string

Additional information about the deletion

Example:

"Deleted endpoint job and 2 workers"