Close Roles API
The roles API from Close — 2 operation(s) for roles.
Operations 5
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“What permission roles exist in my organization?”
“Can I see every role defined for our users?”
Tell an agent
List all roles.
Show the organization's permission roles.
Ask an LLM
“How do I create a role that can only see leads assigned to them?”
“Can a new role see leads that have no assigned user?”
Tell an agent
Create a new role for sales reps.
Add a custom role that limits lead visibility to assigned leads.
Ask an LLM
“Which permissions does a specific role have?”
“Can I retrieve one role by id?”
Tell an agent
Fetch role {id}.
Show the permissions on role {id}.
Ask an LLM
“Can I change the permissions on an existing role?”
“Is it possible to rename a role?”
Tell an agent
Update role {id}.
Change the permissions of role {id}.
Ask an LLM
“Can I delete a role that users are still assigned to?”
“Which call removes a custom role?”
Tell an agent destructive · confirm first
Delete role {id}.
Remove the custom role {id}.