Skip to main content
POST
Cancel a service

Authorizations

Authorization
string
header
required

An API token from API tokens in the console, sent as Authorization: Bearer pgapi_.... It works for one billing account, and its permissions decide which endpoints it may call.

Path Parameters

service
string
required

Body

application/json
type
enum<string>
required

When a cancellation takes effect: at the end of the paid term (end_of_term), accepted at once and open to withdrawal until then, or now (immediate), once PerfGrid has handled the request.

Available options:
end_of_term,
immediate
reason
string | null
Maximum string length: 1000
addon_service
string | null
Required string length: 26

Response

data
any[]
required