admin
Set the capacity of a rig
Changed onSet the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
put/clusters/{clusterID}/rigs/{rigID}/capacity
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/clusters/{clusterID}/rigs/{rigID}/capacity
- Auth
- API key in header X-Admin-Token
- or HTTP bearer
Path parameters
clusterIDstring uuid required
Identifier of the cluster
rigIDstring required
Rig identifier (e.g. "default")
Request body
Response
Capacity change accepted
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info