Skip to main content

Update Preset

PATCH 

/api/preset/update

The "Try it out" feature for this endpoint doesn't work, because the config gets sent as a string, but it needs to be a json object. Please check the example request on the right side

Request

Header Parameters

    Authorization string
    Example: Bearer {YOUR_AUTH_KEY}
    Content-Type string
    Example: application/json
    Accept string
    Example: application/json

Body

required
    id integerrequired

    The id of the preset

    name stringrequired

    The name of the preset

    config objectrequired

    The config of the optimizer as a json object complying with the API Optimize Schema

    object

Responses

success

Schema

    string

Loading...