Public API Reference
Public API details and usage examples for the Members Portal
Submits a cancellation request for an active plan.
cURL
curl --request POST \ --url https://spaces.nexudus.com/api/public/plans/cancel \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "ContractId": 123 } '
200 OK
POST /api/public/plans/cancel Authorization: Bearer {token} Content-Type: application/json { "ContractId": 789 }
HTTP/1.1 200 OK
import endpoints from '@/api/endpoints' await httpClient.post(endpoints.plans.cancel, { ContractId: 789 })