Skip to main content
PATCH
Update event subscription

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <credential> to https://customer-api.mountthor.com. People use the session that mthr login stores (a token starting mt_session_, valid for up to 12 hours). Automation uses a service-account credential (starting mt_sa_v1_, valid for 90 days) from Create credential. Each operation names the permission it needs. Service accounts hold permissions through custom roles, and some operations refuse them; those operations say so.

Path Parameters

name
string
required

The subscription's name.

Body

application/json

The fields to change and their new values.

eventSubscription
object
required

The new values of the fields updateMask names. Its name may be omitted. When sent, it must match the URL's.

updateMask
string<field-mask>

Optional. The fields to change, comma-separated, for example actions,uri. Omitted, every field sent with a value is changed. An empty value changes nothing and returns the subscription. * replaces every field you can change.

Response

OK

The subscription after the update.

eventSubscription
object

The subscription.