Smart Agent Teams
EndpointsRoutines

Delete Routine

Delete a routine. Runs it created are kept and unlinked from it (`routine_id` becomes null). Publishes `routine.deleted`.

DELETE
/api/companies/{company_id}/routines/{routine_id}

Delete a routine.

Runs it created are kept and unlinked from it (routine_id becomes null). Publishes routine.deleted.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

routine_id*Routine Id
Formatuuid
company_id*Company Id
Formatuuid

Response Body

Successful Response

curl -X DELETE "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/routines/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty