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"
}
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"
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Subscription ID
17
OK
The response is of type object
.
Was this page helpful?