put https://customer.my.onetrust.com/api/consentmanager/v1/purposes//publish
Use this API to publish a Purpose. Before calling this API, ensure that the Purpose is in Draft status. The Purpose will be published with version 1 and Active status.
Things to Know
- The Update Purpose API can be used to edit an existing Purpose before publishing.
- Once the Purpose is published, the previous version of the Purpose will be set to Retired status.
- This API returns Purpose descriptions inside
<p>
and</p>
HTML tags. These can be sanitized depending on your formatting needs.