elevenlabs_share_resource_endpoint
Share Workspace Resource. Grants a role (one of 'admin', 'editor', 'commenter', or 'viewer') on a workspace resource to a user, group, or workspace (service account) API key. This overrides any existing role the target has on the resource. To target a user or service account, pass only the user email; the user must be in your workspace. To target a group, pass only the group id. To target a workspace (service account) API key, pass the api key id; the resource will be shared with the service account associated with that key. You must have admin access to the resource to share it.
Bulk support: accepts resource_ids, group_ids, workspace_api_key_ids for batched execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| account | No | ||
| group_id | No | ||
| group_ids | No | ||
| user_email | No | ||
| resource_id | Yes | ||
| resource_ids | No | ||
| resource_type | Yes | ||
| workspace_api_key_id | No | ||
| workspace_api_key_ids | No |