Resume a suspended trigger

PUT /groups/{groupId}/apps/{appId}/triggers/{triggerId}/resume

Resume a suspended database trigger.

Path parameters

application/json

Body

Configuration options for the resume operation.

  • disable_token boolean

    If true, resumes the trigger without processing missed events. Otherwise, attempts to resume the trigger from the first change event after it failed by using a resume token.

Responses

  • 204

    Successfully resumed the trigger.

  • 404 application/json

    Trigger not found.

    Hide response attribute Show response attribute object
    • error string

      A description of the error that App Services encountered.

PUT /groups/{groupId}/apps/{appId}/triggers/{triggerId}/resume
curl \
 --request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/triggers/{triggerId}/resume' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"disable_token":true}'
Request examples
{
  "disable_token": true
}
Response examples (404)
{
  "error": "string"
}