Skip to main content
POST
Update encryption settings for an app (x402 payment flow) POST /api/apps/:app_id/encryption

Path Parameters

app_id
string
required

Application ID

Body

application/json

Request body for managing encryption settings

action
null | enum<string>

Action to perform on collections: "add" or "remove"

Available options:
add,
remove
collections
string[]

Collection names to add/remove from private_collections

private_app
boolean | null

Enable/disable app-level encryption (all data encrypted)

Response

Encryption settings updated successfully