Record a package in a line's history
POST
/management/packages/{id}/assign/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Adds the package to the line's package history, without changing the line or charging anyone. Panel operators only. To renew a line, extend it with a package instead.
Path parameters
idstring (uuid)requiredA UUID string identifying this Package.
Body
line_user_idstring (uuid)required
Response
201 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
- 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.