{"type":"api","title":"Delete a domain","meta":{"id":"/apps/pubhub/media/legacy-umbrella-api/bf58de618cbb72dda8f39b0414ce94c0a15cd467/86312610-23fe-3095-b9df-8fd01f7f8e0d","info":{"title":"Enforcement API","version":"v1.0.0","description":"Umbrella Enforcement API","contact":{"name":"Cloud Security Developer Community"}},"tags":[{"name":"Register domain information"},{"name":"List blocked domains"},{"name":"Delete a domain"}],"x-parser-conf":{"overview":{"markdownPath":"legacy/enforcement/enforcement-overview-api-reference.md"},"meta":{"useProxy":true}},"openapi":"3.0.0","servers":[{"url":"https://s-platform.api.opendns.com/{basePath}","variables":{"basePath":{"default":"1.0"}}}]},"spec":{"operationId":"deleteDomainByIdentifier","tags":["Delete a domain"],"summary":"Delete a domain","description":"Delete a domain. Provide the numerical domain ID or domain name.\nThe domain name must be URL-encoded or use percent encoding.\nUTF-8 characters and Unicode encoding are not accepted formats.","parameters":[{"name":"customerKey","in":"query","required":true,"description":"A customer key assigned to the integration.","schema":{"type":"string"},"$$ref":"#/components/parameters/customerKeyParam"},{"name":"id","in":"path","required":true,"description":"The domain ID or domain name.","schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/400Error"},"401":{"description":"Unauthorized request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/401Error"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/403Error"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/404Error"},"500":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/500Error"}},"__originalOperationId":"deleteDomainByIdentifier","method":"delete","path":"/domains/{id}"}}