cURL
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 } }
UpdateSubscription
Updates existing subscription.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object