PATCH/desk/api/v2/triggers/{id}/reorder.json
Reorder automatic triggers.
Path Params
- Name
id
- Type
- integer
- required
- Description
Body Params
TriggerReorderAPIBody is the request format for the API to reorder triggers
- Name
TriggerID
- Type
- integer
- Description
- TriggerID is the ID of the trigger to be reordered, it's a query param field
- Name
inbox
- Type
- object
- Name
position
- Type
- integer
- Description
- Position is the new position of the trigger, 0 is the first position
Responses
- Code
- 200
- Description
- 200 OK No Data
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
400 Bad Request
Validator
{
"Errors": {}
}