PATCH
/
cloud
/
v1
/
user_actions
/
amqp_subscriptions
/
{subscription_id}
curl --request PATCH \
  --url https://api.gcore.com/cloud/v1/user_actions/amqp_subscriptions/{subscription_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connection_string": "amqps://guest:guest@192.168.123.20:5671/user_action_events",
  "exchange": "<string>",
  "receive_child_client_events": false,
  "routing_key": "foo"
}'
{
  "connection_string": "amqps://guest:guest@192.168.123.20:5671/user_action_events",
  "exchange": null,
  "id": 33,
  "receive_child_client_events": false,
  "routing_key": "foo"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

subscription_id
integer
required

Subscription ID

Examples:

17

Body

application/json

Response

200 - application/json

OK

The response is of type object.