ApiAdmin sandboxes
Set User Quota
Set per-user quota (upsert).
Authorization
User API Key AuthorizationBearer <token>
User API key (mgw_usr_live_* or mgw_usr_test_*)
In: header
Path Parameters
user_id*string
Format
uuidCookie Parameters
access_token?|
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://loading/api/v1/admin/sandboxes/quotas/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"user_id": "string",
"max_sandboxes": 5,
"max_memory_mb": 2048,
"max_cpu_cores": 4,
"max_exec_per_day": 0,
"is_custom": false
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}