Unshare Agent
Agent API Endpoints
Unshare Agent
Revoke access to a specific agent from one or more users via their email addresses.
POST
Unshare Agent
Revoke access to a specific Voice Agent for one or more users. This endpoint is the counterpart to the Share Agent endpoint. Use it when team members change projects, leave the organization, or no longer need visibility into an agent’s configuration.Documentation Index
Fetch the complete documentation index at: https://docs.lyzr.ai/llms.txt
Use this file to discover all available pages before exploring further.
Required Parameters & Payload
agentId(Path Parameter): The 24-character unique ID of the agent in the URL path.- Request Body: A JSON payload identifying who should lose access and who is authorizing it.
email_ids: An array of strings containing the email addresses of the users whose access is being revoked.admin_user_id: The ID of the administrator or owner who is authorizing this unshare action.
Example Usage
To remove access for two specific users, your request body should look like this:Authorizations
Path Parameters
The unique identifier of the agent.
Example:
"f790923795a23467555c0ad6"
Body
application/json
Response
Unshare operation completed successfully.
The response is of type object.