post https://api.pandadoc.com/public/v1/workspaces//api-keys
Generate a new API key for the workspace.
Check out API Key Authentication article for detailed API Keys description.
- Only an Org Admin can generate an API keys.
- To make another user a key's owner, pass
user_id
of this user. The user should has an Admin role in the workspace.- Generating a new key invalidates existing key with the same type. Using this request, you can deactivate the key you're using for the request.