Downgrade an active customer
Downgrades a customer from active to prospect status. Use this when an active customer should return to prospecting mode without full ongoing monitoring.
For the prospecting workflow and redaction rules, see Prospecting.
Header Parameters
Partner organization identifier
API authentication key
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/integrations/customer/downgrade" \ -H "SW-PARTNER-ID: string" \ -H "SW-API-KEY: string" \ -H "Content-Type: application/json" \ -d '{ "customerId": "550e8400-e29b-41d4-a716-446655440000" }'{ "success": true, "message": "Customer downgraded successfully", "customerId": "550e8400-e29b-41d4-a716-446655440000", "status": "prospect"}After downgrade, ongoing monitoring stops for this customer. Breach API responses and webhook payloads return to the redacted prospect format — limited to uuid, emails, and resolved per breach.
Behaviour notes
- Only customers with
status: "active"can be downgraded through this endpoint. - Customers in
inactivestatus should use Reactivate customer to return toactive, then downgrade if needed. - Downgrade is idempotent in intent but returns
409if the customer is already aprospect. - Billing, assets, and plan configuration are preserved; downgrade only changes monitoring status and scan behaviour.
Related
Upgrade a prospect customer POST
Transitions a customer from prospect to active status, enabling full monitoring and detailed breach data. The customer must belong to the authenticated partner organization. Requires authentication via SW-PARTNER-ID and SW-API-KEY headers. Accepts a partner or distributor API key.
Prospecting
Onboard customers in prospect status for a one-time exposure scan with redacted breach results, then upgrade to active for full monitoring.