PATCH
/
integration
/
subscriptions
/
v1
/
{subscription_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/integration/subscriptions/v1/{subscription_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "subscription_id": "<string>",
  "subscription": {
    "project_id": "<string>",
    "name": "<string>",
    "topic_id": "<string>",
    "filter": "<string>",
    "https_url": "<string>",
    "delete_after_use": true
  },
  "update_mask": "<string>"
}'
{
  "subscription": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "topic_id": "<string>",
    "filter": "<string>",
    "https_url": "<string>",
    "delete_after_use": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subscription_id
string
required

Body

application/json

Response

200
application/json

OK

The response is of type object.