Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Body

application/json

Request body for PATCH /v1/loops/user_config.

Follows JSON Merge Patch (RFC 7396) semantics per field: omit the field to leave it unchanged, send null to clear and inherit the org-level allowlist, send a list to set the allowlist. Empty lists are rejected because the storage layer normalizes null and [] identically, so accepting both would create two ways to spell the same intent.

trainer_accelerator_priority
string[] | null

Ordered list of GPU types for trainer deployments, highest priority first. Send a list to set; send null to clear (inherit org allowlist); omit to leave unchanged. Empty list is rejected.

Example:
sampler_accelerator_priority
string[] | null

Ordered list of GPU types for sampler deployments, highest priority first. Send a list to set; send null to clear (inherit org allowlist); omit to leave unchanged. Empty list is rejected.

Example:

Response

200 - application/json

Response for PATCH /v1/loops/user_config.

user_config
LoopsUserConfigV1 · object
required

The updated Loops user config.