/auth/v1/domains/<domain_ID>: DELETE

Deletes a specific domain.

The following table shows which roles can access this REST API endpoint:
Table 1. Access by role
Data admin Data user Collection Admin Admin Service user
Χ Χ Χ Χ

Synopsis of the request URL

curl -k  -H ‘Authorization: Bearer <token>’ https://<spectrum_discover_host>/auth/v1/domains/<domain_id> -X DELETE

Supported request types and response formats

Supported request types:
  • DELETE
Supported response formats:
  • JSON

Examples

The following example shows how to delete a specific domain.

Request:
curl -k  -H ‘Authorization: Bearer <token>’ https://<spectrum_discover_host>/auth/v1/domains/
7a2251243611437cae707fb1aa5acf2c -X DELETE

Response:

204 No Content