GuideLab API

Update organization subscription storage add-on

Applies storage increases immediately with proration and schedules decreases for the next subscription renewal. GuideLab, not the Stripe portal, owns add-on quantity changes.

PUT
/organization/subscription/storage-add-on

Applies storage increases immediately with proration and schedules decreases for the next subscription renewal. GuideLab, not the Stripe portal, owns add-on quantity changes.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Header Parameters

idempotency-key*string

Stable key reused only when retrying the exact same command body

Length8 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/organization/subscription/storage-add-on" \  -H "idempotency-key: stringst" \  -H "Content-Type: application/json" \  -d '{    "units": 0  }'
{  "storageAddOnUnits": 0,  "pendingStorageAddOnUnits": 0,  "pendingStorageAddOnAt": "string",  "change": "unchanged"}
Empty
Empty
Empty
Empty