Update a preset
PATCH
/editor/presets/{id}/write Change: creates or edits. Scopes
Only the fields sent change; new steps are checked as when a preset is made.
Path parameters
idintegerrequired
Body
namestringdescriptionstringcolorstringiconstringstepsanykindsanypositioninteger
Response
200 OK
idintegerrequiredread-onlynamestringrequireddescriptionstringcolorstringiconstringstepsanykindsanypositionintegercreated_atstring (date-time)requiredread-only
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.