Automation Webhook (DELETE)
curl --request DELETE \
--url 'https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/webhooks/{automationSlug}*' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"<unknown>"'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify('<unknown>')
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/webhooks/{automationSlug}*', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/webhooks/{automationSlug}*"
payload = "<unknown>"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"error": "ObjectNotFound",
"message": "<string>",
"details": "<unknown>",
"level": "warn"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Prisme.ai Runtime
Automation Webhook (DELETE)
Trigger some automation from HTTP. GET/POST/PUT/PATCH/DELETE methods can all be used
DELETE
/
v2
/
workspaces
/
{workspaceId}
/
webhooks
/
{automationSlug}
*
Automation Webhook (DELETE)
curl --request DELETE \
--url 'https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/webhooks/{automationSlug}*' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"<unknown>"'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify('<unknown>')
};
fetch('https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/webhooks/{automationSlug}*', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/{workspaceId}/webhooks/{automationSlug}*"
payload = "<unknown>"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"error": "ObjectNotFound",
"message": "<string>",
"details": "<unknown>",
"level": "warn"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace ID, or slug prefixed with "slug:" (e.g. slug:my-workspace)
Automation slug we will trigger. Can contain a slash in order to make subpath.
Query Parameters
Body
application/json*/*
Entire body will be passed as a payload to the triggered automation
Response
Success Response
Was this page helpful?