Agents
Delete a routine
Deletes the routine; it runs no more.
Retries: a repeat answers 404; nothing changes.
DELETE
/
v1
/
workspaces
/
{workspaceId}
/
agents
/
{agentId}
/
routines
/
{routineId}
Delete a routine
curl --request DELETE \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/agents/{agentId}/routines/{routineId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/agents/{agentId}/routines/{routineId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/agents/{agentId}/routines/{routineId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
ApiKeyBearerAuth
Path Parameters
Response
Deleted
Was this page helpful?
⌘I
Delete a routine
curl --request DELETE \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/agents/{agentId}/routines/{routineId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/agents/{agentId}/routines/{routineId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/agents/{agentId}/routines/{routineId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
