v1

latestOpenAPI 3.0.12026-07-265331168.0 KB
Service

Cancel Service

Allows the authenticated user to cancel a specific service associated with their account. The user provides a service_id and optionally a cancel feedback and comment.

delete/public/user/service/cancel/{service_id}

Path parameters

service_idstring required

ID of the Service to cancel

Headers

Content-Typestring required

Content type for the request body as application/json.

Request body

cancel_commentstring

A short comment explaining the reason for cancellation. Maximum 300 characters.

cancel_feedback'too_expensive' | 'missing_features' | 'switched_service' | 'unused' | 'customer_service' | 'too_complex' | 'low_quality' | 'other'

Feedback code indicating the cancellation reason.

Response

Successfully canceled the service.

editedstring[]

List of service IDs that were successfully canceled.

messagestring

Success message indicating the successful cancellation of the service.

proxy_editedinteger[]

List of proxy IDs that were affected by the cancellation of the service.

Example response

{
  "edited": [
    "API-1234-5678"
  ],
  "message": "Service successfully canceled.",
  "proxy_edited": [
    "a7f8b4f1-da8d-4e9f-bdd2-21e74d2eafff",
    "f5bade6e-29b2-4a8a-bd4d-21c528794dd6"
  ]
}