StatsHub Docs
APIAPI v2V2 endpoint referenceAccount

/me/subscription/pause

Pauses collection for the requested supported duration.

POST
/me/subscription/pause

Pauses collection for the requested supported duration.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/me/subscription/pause" \  -H "Content-Type: application/json" \  -d '{    "duration": "string"  }'
{  "resumesAt": "string",  "success": true}