Create Namespace policy

Last Updated: October 6, 2025

Note: Policy Creation comes under MetaData APIs are not available for trial users. A subscription is required to access these features. Please get in touch with help@protecto.ai for assistance.   This API allows you to create a new policy in the namespace which can be attached while calling mask/unmask functions. This API will create a policy...

Get List of all available policies for a namespace

Last Updated: February 18, 2025

This API provides a list of all available policies for the namespace. No params are required. Only Namespace admins with “metadata_change” permission can access this route. METHOD: GET ROUTE: /metadata/policy/list Headers: { “Authorization”: “Bearer <NAMESPACE_ADMIN_API_KEY>” } Response structure: { "data": { "policies": [ "Testing_Default_Policy", "Anonymization-policy-2", "Anonymization-policy-3", "Anonymization-policy-4", "Denied-policy-1" ] }, "success": true, "error": { "message":...

Delete a policy

Last Updated: February 18, 2025

This API will delete a policy and its associated metadata in the namespace. If the given policy doesn’t exists, it will throw a message “Policy doesn’t exists.” Only Namespace admins with “metadata_change” permission can access this route. METHOD: PUT ROUTE: /metadata/policy/delete Headers: { “Authorization”: “Bearer < NAMESPACE_ADMIN_API_KEY>” } Request payload: { "data": { "policy_name": "Testing_Default_Policy"...

Get metadata details (entity configurations) for a particular policy

Last Updated: May 14, 2025

This API provides a list of all available personal data entities and their metadata for a policy in the namespace. Policy_name is an optional parameter. If a policy name is provided, we will give the list of entities for that policy. If not, we will provide a master list of entities across all policies If...

Update Entity Category

Last Updated: May 15, 2025

This API enables you to update the category of an entity to one of three options: anonymizable, pseudonymizable, or excluded from identification and masking. You can provide a list of entities to be updated under a specific policy for each category. Upon execution, the API updates the categories and returns a response with the complete...

What are your feelings

© All Rights Reserved 2023 | Protecto