Delete domain

DELETE /api/domains/{id}

Delete domain by ID.

Path parameters

  • id string Required

    The unique identifier of the domain.

Responses

  • The domain was deleted successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

  • The domain with the specified ID was not found.

DELETE /api/domains/{id}
curl \
 -X DELETE https://[tenant_id].logto.app/api/domains/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"