DELETE
/
models
/
v2
/
{modelId}
curl --request DELETE \
  --url https://api.bytez.com/models/v2/{modelId} \
  --header 'Authorization: <api-key>'
{
  "error": null,
  "output": null
}

Authorizations

Authorization
string
header
required

Set Authorization header to Key BYTEZ_KEY (e.g. 'Authorization': 'Key ABC123')

Path Parameters

modelId
string
required

The model you want to run (e.g., openai-community/gpt2).

Response

200
application/json
Status 200 with null for error and output
error
string

Null if everything is fine

Example:

null

output
string

Null if deleted successfully

Example:

null