API Revoke Permissions
Server-Side API endpoint to revoke privacy permissions that have been granted to your dApp
API endpoint to revoke access to an account's Privacy Data
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
{}const privateKeyDer = '...';
// You can find `getPrivateKeyFromDer` in "How to sign API"."Full Example" page
const privateKey = await getPrivateKeyFromDer(privateKeyDer);
const walletAddress = '...';
// You can find `makeRequest` in "How to sign API"."Full Example" page
await makeRequest({
method: 'delete',
privateKey: getPrivateKeyFromDer(privateKeyDer),
path: `/api/v1/privacy/grants/${walletAddress}`
});"""
NOTE: you can find make_request in the full example located in the
API Signed Requests documentation page
"""
wallet_address = '...'
# You can find `make_request` in "How to sign API"."Full Example" page
make_request(
method='delete',
path=f'/api/v1/privacy/grants/{wallet_address}'
)Last updated