Triggers

Update a trigger

Changed on

Partially update a trigger; all fields are optional. When activation is changed, the type-specific field rules are re-validated. Returns 404 if the trigger does not exist.

patch/triggers/{triggerId}

Request

  • Base URL
    https://api.mobilerun.ai
  • URL
    https://api.mobilerun.ai/triggers/{triggerId}
  • Auth
    HTTP bearer

Path parameters

triggerIdstring uuid required

Request body

namestring
descriptionstring
activation'event' | 'schedule' | 'custom'
eventTypestring
timezonestring nullable
customPayloadSchemaobject nullable

Optional JSON Schema for validating payloads sent to this custom trigger

Response

Trigger updated

Changes

    • breaking

      the request property type changed from no type to object null

    • breaking

      the response's property type changed from no type to object for status

    • breaking

      removed the required property from the response with the status

    • warning

      removed subschema #2 from the request property allOf list

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the new optional request property /

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property /////// to the response with the status