v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Domains

Create or Update Domain Group

Use this API to create a new domain group or update an existing domain group.

post/v1/domains/{domainId}/domaingroup

Path parameters

domainIdstring required

ID of the domain in OneTrust Admin Portal. This string is obtained from the URL on the specific pages in OneTrust Admin Portal relating to that domain. (Example- The script page or the scan results page for that domain.)

Request body

removeExistingboolean

Flag to remove all domains from an existing group. Passing False instructs the API to append the incoming URL list to the existing one.

urlsstring[]

A list of urls to be added to the group.

Response

OK