External Services
Update a service's resource limits (memory, CPU caps).
Persists the new caps to the encrypted config AND live-applies them via Docker's update API. Memory and CPU can be hot-changed without a restart on running containers; stopped containers also accept the update and pick up the new caps on next start.
Pass null (or omit) any field to leave it unlimited. A request where every field is null removes any existing limits.
The response includes a per-container applied[] list so the caller can tell which members got the update and which were skipped (e.g., container not yet created, or docker update rejected because the new memory cap is below current usage).
patch/external-services/{id}/resources
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/external-services/{id}/resources
- Auth: none declared
Path parameters
idinteger required
External service ID
Request body
Response
Updated resource limits
Changes
No recorded changes to this operation across all 50 revisions of this API.