Update a customer
PATCH
/editor/users/{id}/write Change: creates or edits. Scopes
Send only what changes. A new username or password changes their links.
Path parameters
idintegerrequired
Body
namestringusernamestringpasswordstringenabledbooleanexpirystring (date-time)can be nullsync_expirybooleanmax_connectionsintegermessagestringnotesstringlanguagestringall_livebooleanlive_categoriesinteger[]all_moviebooleanmovie_categoriesinteger[]all_seriesbooleanseries_categoriesinteger[]providersanycopy_loginboolean
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.