Skip to main content
POST
Unshare Workspace Resource

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

resource_id
string
required

The ID of the target resource.

Body

application/json
resource_type
enum<string>
required

Resource type of the target resource.

Available options:
voice,
voice_collection,
pronunciation_dictionary,
project,
convai_agents,
convai_knowledge_base_documents,
convai_tools,
convai_settings,
convai_secrets,
workspace_auth_connections,
convai_phone_numbers,
convai_mcp_servers,
convai_api_integration_connections,
convai_api_integration_trigger_connections,
convai_batch_calls,
convai_agent_response_tests,
convai_test_suite_invocations,
convai_crawl_jobs,
convai_crawl_tasks,
convai_kb_external_sync_jobs,
convai_whatsapp_accounts,
convai_agent_versions,
convai_agent_branches,
convai_agent_versions_deployments,
convai_memory_entries,
convai_coaching_proposals,
convai_templates,
dashboard,
dashboard_configuration,
convai_agent_drafts,
resource_locators,
assets,
transcription_tasks,
avatars,
resource_collection,
convai_analysis_items
user_email
string | null

The email of the user.

group_id
string | null

The ID of the target group. Use 'default' to set the resource's baseline role - every workspace member receives this role unless they hold a higher one through a direct user grant, or group membership.

workspace_api_key_id
string | null

Deprecated. Sharing resources with service-account API keys has been removed; service accounts will return through WorkOS M2M.

Response

Successful Response