Manage Subscriptions

Delete a subscription

Changed on

Deletes a subscription configuration.

delete/spaces/{spaceId}/subscriptions/{subscriptionId}

Request

  • Base URL
    /hub (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /hub/spaces/{spaceId}/subscriptions/{subscriptionId}
  • Auth
    • API key in query parameter access_token
    • or HTTP bearer

Path parameters

spaceIdstring required

The unique identifier of the space.

subscriptionIdstring required

The unique identifier of the subscription.

Response

The subscription

idstring

The uniques identifier for the subscription.

sourcestring

The source for the subscribed notification (usually the space).

destinationstring

The destination for the subscribed notification.

Example response

{
  "id": "my-subscription-id",
  "status": {
    "state": "ACTIVE"
  },
  "filter": {
    "jsonPath": "$[?(@.properties.type == 'building')]"
  }
}

Changes

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status