Preliminary findings:
The QueueAttributes.setMaxSlots() Java API class/method alters the queue object, and also alters the active queue instance.
The PATCH /{client_id}/objects/{object} REST API endpoint can be used in the same way.
The Modify action in the Queues page of the Administration perspective alters only the active queue instance. It does not modify the queue object. This AWI function appears to accomplish this using an undocumented/internal API.
(The class com.uc4.ecc.components.v7.legacy.impl.LegacyUIController is mentioned in an AWI trace message logging the API call. This class can be found in the file ecc-framework-pure-vaadin7-legacy.jar of the AWI.)
Update 2026.05.05 17:15 CEST
The ModifyQueue Java API class is capable of setting the max slots of only the active queue instance.