Remove user invitations from a flow
flows
Remove user invitations from a flow
Remove invitations for specific users from a flow.
This endpoint allows admins to revoke access for reviewer users to specific flows. Once removed, users will no longer be able to access the flow and its executions through the RLS policies enforced at the database level.
Permissions
- Only org_admin role can remove invitations
- Users must belong to the same organization as the flow
Behavior
- Removes invitations for all specified user IDs
- Non-existent invitations are silently ignored
- All deletions are performed in a single transaction
Use Cases
- Revoke reviewer access from specific flows
- Manage flow-level permissions for review workflows
- Remove team members who no longer need access
DELETE
Remove user invitations from a flow
Authorizations
API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY
Example:
JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN
Example:
Path Parameters
Body
application/json
Request model for creating flow invitations.
List of user IDs to invite to the flow
Minimum array length:
1Response
Invitations successfully removed