Notifications

Update subscription for an event

Update subscription for an event.

patch/v1/notifications/configurations/{eventId}/subscriptions/{subscriptionId}

Request body

regionsNotificationRegion[] required
entitiesstring[] required
enabledboolean required

Enable/Disable complete subscription within an event.

namestring required

User provided name of the subscription.

Response

Response containing specific subscription details associated with an event.

idstring uuid required

Contains a unique identifier used for this resource.

entity_type'billing-invoice' | 'access-token' | 'webhook' | 'dev-portal' | 'dataplane-group' | 'dataplane' | 'kai-enablement' | 'enterprise-trial' required
created_atstring date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_atstring date-time required

An ISO-8601 timestamp representation of entity update date.

regionsNotificationRegion[] required
entitiesstring[] required
enabledboolean required

Enable/Disable complete subscription within an event.

namestring required

User provided name of the subscription.

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

Changed in 7 of the 75 revisions of this API.18511

    • added the new enterprise-trial enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new kai-enablement enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new type enum value to the allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/rule response property for the response status 400

      response-property-enum-value-added

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterChoiceItem]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterDependentItem]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMaximumLength]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/source became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/source became nullable for the status 400

      response-property-became-nullable

    • the response property detail became nullable for the status 401

      response-property-became-nullable

    • the response property instance became nullable for the status 401

      response-property-became-nullable

    • the response property status became nullable for the status 401

      response-property-became-nullable

    • the response property title became nullable for the status 401

      response-property-became-nullable

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed EventSubscription subschema #1 from the response body allOf list for the response status 200

      response-body-all-of-removed

    • added the required property channels to the response with the 200 status

      response-required-property-added

    • added the required property created_at to the response with the 200 status

      response-required-property-added

    • added the required property enabled to the response with the 200 status

      response-required-property-added

    • added the required property entities to the response with the 200 status

      response-required-property-added

    • added the required property entity_type to the response with the 200 status

      response-required-property-added

    • added the required property id to the response with the 200 status

      response-required-property-added

    • added the required property name to the response with the 200 status

      response-required-property-added

    • added the required property regions to the response with the 200 status

      response-required-property-added

    • added the required property updated_at to the response with the 200 status

      response-required-property-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 76b0fefddb0d91See the full diff
    • removed the required property channels from the response with the 200 status

      response-required-property-removed

    • removed the required property created_at from the response with the 200 status

      response-required-property-removed

    • removed the required property enabled from the response with the 200 status

      response-required-property-removed

    • removed the required property entities from the response with the 200 status

      response-required-property-removed

    • removed the required property entity_type from the response with the 200 status

      response-required-property-removed

    • removed the required property id from the response with the 200 status

      response-required-property-removed

    • removed the required property name from the response with the 200 status

      response-required-property-removed

    • removed the required property regions from the response with the 200 status

      response-required-property-removed

    • removed the required property updated_at from the response with the 200 status

      response-required-property-removed

    • added EventSubscription subschema #1 to the response body allOf list for the response status 200

      response-body-all-of-added

    • added the new dataplane enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    • added the new dataplane-group enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog