Give a customer a new login
POST
/editor/playlists/{pid}/users/{id}/login/write Change: creates or edits. Scopes
Sets the username and password given, or random ones. Their old links stop working.
Path parameters
idintegerrequiredpidstring (uuid)required
Body
usernamestringpasswordstring
Response
200 OK
idintegerrequirednamestringrequiredusernamestringrequiredpasswordstringrequiredenabledbooleanrequiredexpirystring (date-time)requiredcan be nullNull: never.
sync_expirybooleanrequiredThe end date is read from the provider when it nears.
max_connectionsintegerrequired-1: no limit.
messagestringrequirednotesstringrequiredlanguagestringrequiredall_livebooleanrequiredEvery channel category, new ones too.
live_categoriesinteger[]requiredall_moviebooleanrequiredmovie_categoriesinteger[]requiredall_seriesbooleanrequiredseries_categoriesinteger[]requiredprovidersobject[]requiredTheir own provider lines.
providerintegerrequiredOne of the playlist's providers.
usernamestringrequiredpasswordstringrequireddnsstringrequiredAnother address for this provider ('' for its own).
copy_loginbooleanrequiredTheir provider lines use their own username and password.
onlinebooleanrequiredlast_seen_atstring (date-time)requiredcan be nullconnectionsintegerrequiredConnections now.
synced_atstring (date-time)requiredcan be nullcreated_atstring (date-time)required
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.