Updated on January 4, 2024

Mask Bulk Data using Async method

An asynchronous masking method can be used to mask large volumes of data.

Utilizing this method enables you to submit a mask request and receive a tracking ID. The tracking ID can then be employed to retrieve the status of the submitted request.

Note: To obtain the <auth token>, please refer to the Step-by-Step Guide to Obtain Your Auth Token.

CodeSnippet

# Import the ProtectoVault class from the protecto_ai module
from protecto_ai import ProtectoVault
# Create an instance of ProtectoVault with your authentication token
obj = ProtectoVault("<auth_token>")

Result:

{
   "data":[
      {
         "tracking_id":"37a6de65-56d7-4da5-97d8-e1ba26b8208102012024045015",
         "status":"PENDING"
      }
   ],
   "success":true,
   "error":{
      "message":""
   }
}

 

What are your feelings
Scroll to Top