Updates the range configuration with the provided yaml file.Use rangeID to specify which range to update config for. If rangeID is not provided, the user's default range will be used. Use userID to update config for a different user's range (admins only).
Request
Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
Query Params
Body Params multipart/form-data
Responses
🟢200OK
successfully updated configuration
This response does not have a body.
🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://mock.apidog.com/m1/1126461-0-default/range/config?rangeID&userID' \
--header'X-API-KEY: <api-key>' \
--form'file=@""' \
--form'force="false"'