Skip to content

Instantly share code, notes, and snippets.

@mb8z
Last active July 28, 2021 23:07
Show Gist options
  • Save mb8z/923c916ec449390529a2c7b1bdcf6750 to your computer and use it in GitHub Desktop.
Save mb8z/923c916ec449390529a2c7b1bdcf6750 to your computer and use it in GitHub Desktop.
const useDocty = require('@usedocty/node');
const Docty = useDocty('{{API_KEY}}');
const example = async () => {
await Docty.Consents.remove([
{ user: 'john.doe@example.com', document: 'document1-example-uuid-here' },
{ user: 'john.doe@example.com', document: 'document2-example-uuid-here' },
{ user: 'another.user@example.com', document: 'document1-example-uuid-here' },
{ user: 'another.user@example.com', document: 'document2-example-uuid-here' },
]);
};
example();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment