Packages

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)required

    A 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-only
  • line_userstring (uuid)required

    Line user who received this package

  • line_user_usernamestringrequiredread-only
  • packagestring (uuid)required
  • package_namestringrequiredread-only
  • assigned_bystring (uuid)requiredread-onlycan be null

    Staff user who assigned this package

  • assigned_by_usernamestringrequiredread-only
  • assigned_atstring (date-time)requiredread-only
  • expires_atstring (date-time)required

    When this package expires for the user

  • is_activeboolean
  • is_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.

What each error means