GET
/
user
/
disconnect
Disconnect the user from the paywall
curl --request GET \
  --url https://api.paywalls.ai/v1/user/disconnect \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Paywall-User
string

Optional user identifier provided by the developer. Can be used instead of the user property in the request body to associate the API call with a specific end user.

Query Parameters

user
string

The unique identifier of the user to get menu items for.

Response

200 - application/json

User is disconnected from the paywall.

success
boolean

Indicates whether the disconnection was successful.

message
string

A message indicating the result of the disconnection operation.