Remove org custom attributes
DELETE
/api/v1/extraction/attributes/{domain}
const url = 'https://api.justcrawl.io/api/v1/extraction/attributes/example?pageType=product';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url 'https://api.justcrawl.io/api/v1/extraction/attributes/example?pageType=product' \ --header 'Authorization: Bearer <token>'Drops this org’s custom attribute set for the (domain, pageType) pair. Subsequent
extractions revert to the platform-discovered schema for that page type. Idempotent —
calling on a domain without overrides still returns { ok: true }.
Requires workflows:write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain
required
string
Query Parameters
Section titled “Query Parameters”pageType
string
Responses
Section titled “Responses”Custom attribute set removed (or already absent).
Media typeapplication/json
object
ok
boolean
Examplegenerated
{ "ok": true}Missing or invalid authentication token
Media typeapplication/json
object
error
string
Example
{ "error": "Missing or invalid authentication token"}Insufficient permissions for this operation
Media typeapplication/json
object
error
string
Example
{ "error": "No organization. Complete onboarding first."}Unexpected server error. Logs and PostHog $exception capture
Media typeapplication/json
object
error
string
Example
{ "error": "Something went wrong"}