Skip to content

POST /automations/{id}/deactivate​

POST
/automations/{id}/deactivate

Deactivate an automation (stops new enrollments; in-flight ones finish). Needs the automations:activate scope.

Authorizations​

BearerAuth
Type
HTTP (Bearer)

Parameters​

Path Parameters

id*

Unique identifier

Required

Responses​

The request has succeeded.

application/json
JSON
{
  
"id": "string",
  
"name": "string",
  
"status": "string",
  
"triggerEvent": "string",
  
"steps": [
  
  
{
  
  
  
"type": "string",
  
  
  
"subject": "string",
  
  
  
"body": "string",
  
  
  
"seconds": 0,
  
  
  
"tag": "string"
  
  
}
  
],
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI