Playlist editor

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

  • namestring
  • descriptionstring
  • colorstring
  • iconstring
  • stepsany
  • kindsany
  • positioninteger

Response

200 OK

  • idintegerrequiredread-only
  • namestringrequired
  • descriptionstring
  • colorstring
  • iconstring
  • stepsany
  • kindsany
  • positioninteger
  • created_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.

What each error means