spicrawlspicrawlDocs
Partner

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

DELETE
/v1/partner/tiers/{tier_id}

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
AuthorizationBearer <token>

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

tier_id*string

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"
Empty