For automating the cluster administration tasks trough Rest Api, Dynatrace Admins and SREs should have "Cluster admin privileges"
Simple steps:
- Create access token with "dataprivacy" scope and save it in safe repo.
- User menu > configuration Api > Data privacy and security > POST.
- Unlock via created access token > try it now > execute.
- Upon successful execution, Response code will be "204".






