Archive product
Archives the product and removes it from active marketplace listings. The row persists with state archived for audit/history/revenue-attribution. Active installs and past orders are unaffected; backing packages remain independently managed and unchanged. Dashboard callers can still render historical product context.
Documentation Index
Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.
1 - 53"ws_j572abc123def456"
Caller-supplied idempotency key. Repeated requests with the same key return the existing resource instead of creating a duplicate. Safe to retry after a timed-out or interrupted request.
1 - 64"create-prod-2026-05-07"
The etag of the resource version the client last read. Required on writes when the resource exposes an etag field. Mismatch returns 409 ABORTED with the current etag in the error metadata.
1 - 256"42"
Path Parameters
Product ID
1 - 55"prod_j572abc..."
Body
Response
Product archived
1 - 55"prod_j572abc123def456"
"PostgreSQL Managed"
1 - 53Reference to the Package backing this product. Fetch full details via GET /v1/packages/{id}.
Marketplace listing configuration. When null the product is not listed.
Unix timestamp (seconds)
x >= 0Unix timestamp (seconds)
x >= 0Product lifecycle state.
active, archived Custom display image URL — overrides the package logo on customer-facing pages
Custom display description — overrides the package description
When the product was archived, expressed as Unix seconds since epoch.
x >= 0Reason supplied by the seller when archiving.