delete
https://api-ss-sandbox.betprophet.co/parlay/sp/supported-lines
Endpoint to delete supported lines
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Delete Supported Lines
Description
This endpoint allows you to delete supported lines for a specific service provider (SP). It requires a JSON payload specifying the lines to be revoked.
HTTP Request
- Method:
DELETE - URL:
/supported-lines
Headers
Authorization: Bearer token required.
Include the
Bearerprefix before your access token in the Authorization header. For example:Bearer YOUR_ACCESS_TOKEN. Retrieve your access token from the/auth/loginendpoint response.
Request Body
- Content-Type:
application/json - Schema:
{ "supported_lines": [ "line1", "line2" ] }
Responses
- 200 OK: The lines were successfully deleted.
{ "success": true } - Default Error: An error occurred.
{ "error": "Error message", "success": false }
Security
- Requires a valid
Tokenin the request header.
Notes
- Ensure that the
supported_linesarray contains valid line identifiers. - This operation is irreversible; ensure accuracy before proceeding.
