# Update an instance of a usage trigger **POST /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json** Update an instance of a usage trigger Webhooks that notify you of usage thresholds ## Servers - https://api.twilio.com: https://api.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **AccountSid** (string) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to update. - **Sid** (string) The Twilio-provided string that uniquely identifies the UsageTrigger resource to update. ### Body: application/x-www-form-urlencoded (object) - **CallbackMethod** (string(http-method)) The HTTP method we should use to call `callback_url`. Can be: `GET` or `POST` and the default is `POST`. - **CallbackUrl** (string(uri)) The URL we should call using `callback_method` when the trigger fires. - **FriendlyName** (string) A descriptive string that you create to describe the resource. It can be up to 64 characters long. ## Responses ### 200 OK #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the trigger monitors. - **api_version** (string | null) The API version used to create the resource. - **callback_method** (string(http-method) | null) The HTTP method we use to call `callback_url`. Can be: `GET` or `POST`. - **callback_url** (string(uri) | null) The URL we call using the `callback_method` when the trigger fires. - **current_value** (string | null) The current value of the field the trigger is watching. - **date_created** (string(date-time-rfc-2822) | null) The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **date_fired** (string(date-time-rfc-2822) | null) The date and time in GMT that the trigger was last fired specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **date_updated** (string(date-time-rfc-2822) | null) The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **friendly_name** (string | null) The string that you assigned to describe the trigger. - **recurring** (string) The frequency of a recurring UsageTrigger. Can be: `daily`, `monthly`, or `yearly` for recurring triggers or empty for non-recurring triggers. A trigger will only fire once during each period. Recurring times are in GMT. - **sid** (string | null) The unique string that that we created to identify the UsageTrigger resource. - **trigger_by** (string) The field in the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource that fires the trigger. Can be: `count`, `usage`, or `price`, as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price). - **trigger_value** (string | null) The value at which the trigger will fire. Must be a positive, numeric value. - **uri** (string | null) The URI of the resource, relative to `https://api.twilio.com`. - **usage_category** (string) The usage category the trigger watches. Must be one of the supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories). - **usage_record_uri** (string | null) The URI of the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource this trigger watches, relative to `https://api.twilio.com`. [Powered by Bump.sh](https://bump.sh)