get https://{hostname}/api/privacynotice/v2/privacynotices
Use this API to retrieve a list of all privacy notices. The response will include details for each privacy notice along with the corresponding privacy notice ID, created date, and last published date.