Related guides
Endpoints
Next steps
- API overview: base URLs, authentication, and pagination
- Errors: status codes and the error format
- Editions: which endpoints each edition serves
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
List, provision, suspend, reinstate, and remove organization members with the OneCLI API, and see which groups each member is in.
| Endpoint | Method and path | What it does |
|---|---|---|
| List members | GET /org/members | List your organization’s members with cursor pagination. |
| Provision a member | POST /org/members | Provision a member by email without an invitation. |
| Suspend, reinstate, or SSO-exempt a member | PATCH /org/members/{userId} | Suspend, reinstate, or SSO-exempt a member, one change per request. |
| Remove a member | DELETE /org/members/{userId} | Remove a member for good. |
| List a member’s groups | GET /org/members/{userId}/groups | List the directory groups a member belongs to. |