We are building a Zapier integration using custom auth. Users can copy an API key from our platform into a new Zap, the (relevant) config is as follows:
module.exports = {
config: {
type: 'custom',
fields: { key: 'apiKey', label: 'API Key', required: true }]
}
};
We want to offer Users to be able to regenerate this API key. This should turn off/invalidate existing Zaps where the key is used (either immediately or when a trigger is fired). How should we handle this?