Update an entry of a line's package history
PATCH
/management/user-packages/{id}/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Panel operators only. Changes neither the line nor anyone's credits.
Path parameters
idstring (uuid)requiredA UUID string identifying this User Package Assignment.
Body
line_userstring (uuid)Line user who received this package
packagestring (uuid)expires_atstring (date-time)When this package expires for the user
is_activeboolean
Response
200 OK
idstring (uuid)requiredread-onlyline_userstring (uuid)requiredLine user who received this package
line_user_usernamestringrequiredread-onlypackagestring (uuid)requiredpackage_namestringrequiredread-onlyassigned_bystring (uuid)requiredread-onlycan be nullStaff user who assigned this package
assigned_by_usernamestringrequiredread-onlyassigned_atstring (date-time)requiredread-onlyexpires_atstring (date-time)requiredWhen this package expires for the user
is_activebooleanis_expired_statusbooleanrequiredread-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.