Skip to main content
DELETE
/
v1
/
models
/
{modelId}
Delete a model
curl --request DELETE \
  --url https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/models/{modelId} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true,
  "model_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

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

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

modelId
string
required

Identifier of the model document. Model IDs may contain forward slashes (e.g. bedrock/anthropic.claude-3-haiku, eu.anthropic.claude-sonnet-4-20250514-v1:0); the workspace router declares this parameter as a catch-all so consumers SHOULD send the slashes unencoded in the path.

Response

Deletion confirmation.

deleted
boolean
required

Always true on success.

model_id
string
required

Identifier of the deleted model.