useGrant
Domains

Delete domain

Delete a domain by its ID.

DELETE
/v1/providers/{providerId}/domains/{domainId}

Authorization

AuthorizationRequiredBearer <token>

In: header

Path Parameters

providerIdRequiredstring

Unique identifier for a provider.

Format: "uuid"
domainIdRequiredstring

Unique identifier for a domain.

Format: "uuid"
curl -X DELETE "https://sdk.usegrant.dev/v1/providers/497f6eca-6276-4993-bfeb-53cbbbba6f08/domains/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Domain deleted successfully.