Skip to main content
DELETE
/
v1
/
ai
/
routines
/
{routineId}
Delete an AI Routine
curl --request DELETE \
  --url https://{instance}.omniapp.co/api/v1/ai/routines/{routineId} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

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

id
string<uuid>
required

The UUID of the routine.

Query Parameters

userId
string<uuid>

Requires an Organization API key. Target user membership ID.

Response

Routine deleted successfully.

deleted
enum<boolean>
required

Always true on a successful delete.

Available options:
true
id
string<uuid>
required

The deleted routine’s ID.