Delete a safe domain

delete

/api/20210901/system/safeDomains/{urlBase64DomainId}

Delete a safe domain for an Analytics instance.

Request

Path Parameters
  • Safe domain value with Base64URL encoding. For example, if you want to delete the safe domain my.safe-domain.com, enter the Base64URL encoded value 'bXkuc2FmZS1kb21haW4uY29t'.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Delete operation successful.

400 Response

Bad request (validation failed).
Body ()
Root Schema : 400BadRequest
Bad Request (invalid query parameters, malformed headers, and so on).

403 Response

Not authorized to delete safe domains.
Body ()
Root Schema : 403Forbidden
Forbidden (missing permissions for operation, request denied for unspecified reason, and so on).
Back to Top

Examples

In this example, you delete the safe domain my.safe-domain.com configured for the Analytics instance. The Base64URL encoded value for my.safe-domain.com is: bXkuc2FmZS1kb21haW4uY29t

cURL Example:

curl -i \
  --header 'Authorization: Bearer <token>' \
  --request DELETE 'https://<hostname>/api/20210901/system/safeDomains/bXkuc2FmZS1kb21haW4uY29t'

Example of Request Body

Not applicable.

Example of Request Header

Not applicable.

Example of Response Body

If successful, the response body returns the 200 response code. For example:

Status 200
Back to Top