Enable/Disable trigger using http request

in general have a look here:

We would recommend to explore / prototype in Swagger in a first round

Keep in mind that newer options for external application integration / authorization is available and recommended

when it is done within UiPath also check:
grafik