Skip to main content
DELETE
/
v1
/
models
/
{modelId}
/
suggestions
/
{suggestionId}
Delete a suggestion
curl --request DELETE \
  --url https://{instance}.omniapp.co/api/v1/models/{modelId}/suggestions/{suggestionId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

UUID of the shared model the suggestion belongs to

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

suggestionId
string<uuid>
required

UUID of the suggestion

Example:

"b2c3d4e5-f6a7-8901-bcde-f12345678901"

Response

The suggestion was deleted

success
boolean
Example:

true