Delete Package
delete_packageDeletes a reseller package after affected users are moved to another package; removal fails with 422 while users remain assigned.
Instructions
Deletes a package. Fails with 422 while any user is still on the package; move affected users to another package first (set_reseller_user_package). Reseller-level operation: call while authenticated as the reseller (plain reseller username), not while impersonating a user. A 404 means the package does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (letters, numbers, underscores, hyphens) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |