Pi Durable Platformdocs
ReferenceModels and usage

Remove a model (platform admins); refused while templates or agents use it

DELETE
/v1/admin/models/{modelId}

Path Parameters

modelId*string
Formatuuid

Response Body

Deleted

application/json
  1. response
data*
curl -X DELETE 'https://agents.example.com/v1/admin/models/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": {    "ok": true  }}