Change the categories of many customers
POST
/editor/playlists/{pid}/users/bulk-categories/write Change: creates or edits. Scopes
Adds, removes or sets (mode: "overwrite") categories of the customers ids. live, movie and series are category ids; add and remove leave a kind without ids as it is, overwrite sets every kind given (an empty list: none). Answers how many customers it changed.
Path parameters
pidstring (uuid)required
Body
idsinteger[]requiredmodestringrequiredadd- addremove- removeoverwrite- overwrite
One of:
"add""remove""overwrite"liveinteger[]can be nullmovieinteger[]can be nullseriesinteger[]can be null
Response
200 OK
changedintegerrequired
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.