Note: Super Admin 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. All the following super admin routes can only be accessed with the master API key. This API allows you to create tokens for users within a specific namespace. You...
This API enables you to monitor the status of a background job initiated by a user request. To use this API, provide the tracking ID obtained from the Create Namespace API. The response includes details such as the requestor, the request timestamp, the job end time, the job status, the job type, and additional information...
This API will provide you with a list of authorization tokens generated either for a particular namespace, if the namespace name is provided in the query parameters, or across all namespaces if it is not provided. METHOD: GET ROUTE: /super-admin/namespace/auth-token/list Headers: {“Authorization”: “Bearer <MASTER_API_KEY>”} Query params (Optional): Provide the namespace if you want to get...
This API will provide you with details of the authorization token specified in the query parameters. METHOD: GET ROUTE: /super-admin/namespace/auth-token/details Headers: { “Authorization”: “Bearer <MASTER_API_KEY>” } Query params: auth_token : “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c” Response structure: { "data": { "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "namespace_name": "customer_ns_1", "_id": "userid1", "permissions": [ "mask", "unmask", "metadata_change" ], "start_date": "2024-07-11", "end_date": "2025-07-10" }, "success": "true",...
This API allows the super admin to deactivate or deny access to a user for accessing the APIs. The input should be the user’s namespace auth token for which access should be denied. METHOD: PUT ROUTE: /super-admin/namespace/auth-token/deactivate Headers: { “Authorization”: “Bearer <MASTER_API_KEY>” } Request format: { "data": { "auth_token":" eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" } } Response structure: {...
This API allows the super admin with the master key to delete the entire user namespace, including all data and metadata. Input should be the namespace name to be deleted. This will start a background deletion job and provide you with a tracking id which can be used to track the status of the job....
This API allows you to track the status of a background job after the Namespace is deleted. You need to provide the tracking ID as input. The API will return details such as who requested the job, the time of the request, the job end time, the job status, the job type, any error messages...
Endpoint Overview This API retrieves an authentication token and its associated metadata (expiry, permissions, etc.) for a specified user within a given namespace. METHOD: PUT ROUTE: /super-admin/namespace/auth-token/fetch Headers: { “Authorization”: “Bearer <MASTER_API_KEY>” } Request format: { "data": { "_id": " userid1", "namespace_name": "customer_ns_1" } } Response structure: { "data": { "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "namespace": "customer_ns_1", "_id":...
© All Rights Reserved 2023 | Protecto