API keys
Create an API key
Changed onCreate an API key for the organization, with a role (member or admin) whose permissions it gets and an optional expiry. Returns the key itself (key) only this once; store it somewhere safe. Requires the apiKey: ["create"] permission (owners and admins)
post/api/v1/organizations/{organizationId}/api-keys
Request
- Base URLhttps://app.easyscraper.com
- URLhttps://app.easyscraper.com/api/v1/organizations/{organizationId}/api-keys
- AuthAPI key in cookie better-auth.session_token
Path parameters
organizationIdstring uuid required
Request body
Response
OK
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info