Delete a tier
Refused with `409` when a live workspace is on the tier, or when the tier is the default while other tiers exist.
Requires scope: partner
Refused with 409 when a live workspace is on the tier, or when the tier is the default while other tiers
exist. Move the workspaces and change the default first. A soft-deleted workspace does not hold the tier;
deleting the tier takes it off the workspace.
Authorization
bearerAuth Authorization: Bearer <key>. Read the key from the SPICRAWL_API_KEY environment
variable; never hard-code or log it. spicrawl_test_… keys can never spend live
credits. Scopes: scrape, batch, sessions (granted by default), browser
and read (granted deliberately), and partner (only on a partner account's key).
A missing scope is 403 ERR::AUTH::INSUFFICIENT_SCOPE naming the scope.
In: header
Path Parameters
The tier's id, from the list or the create response.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/v1/partner/tiers/string"Change a tier PATCH
Changes the fields sent and leaves the rest. Every workspace on the tier gets the new limits, and any workspace whose balance cap is turned on from none has its cap reset.
Move a workspace to a tier PUT
Moves the workspace to the named tier and applies that tier's limits and balance cap.