Update Rmq Configuration
Updates an existing RabbitMQ (RMQ) configuration identified by UUID. Validates connectivity before applying changes.
The UUID of the RMQ configuration to update
f6a7b8c9-d0e1-2345-f123-456789012345
{
"data": {
"items": [
{
"config": {
"vhost": "/vcd_tenant",
"UUID": "f6a7b8c9-d0e1-2345-f123-456789012345",
"hosts": [
{
"host": "rmq.vcd.example.com",
"port": "5672",
"userName": "admin",
"password": "Uk1RUGFzc3dvcmQxMjMh"
}
]
}
}
]
}
}
data
RMQ configuration updated successfully
{
"data": {
"items": [
{
"section": "rmq",
"config": {
"hosts": [
{
"host": "rmq.vcd.example.com",
"port": "5672",
"userName": "admin"
}
],
"UUID": "f6a7b8c9-d0e1-2345-f123-456789012345"
}
}
]
}
}
data
Bad request - validation failed or connection test failed
{
"isSuccess": false,
"message": "Unable to connect to RabbitMQ server. Please verify configuration.",
"httpStatusCode": 400
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
Configuration not found
{
"isSuccess": false,
"message": "Failed modify item: f6a7b8c9-d0e1-2345-f123-456789012345, section: rmq. Config does not exists.",
"httpStatusCode": 404
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
Internal server error - update failed
{
"isSuccess": false,
"message": "Unable to update RMQ configuration",
"httpStatusCode": 500
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/admin/global/config/rmq/{uuid}