API reference
Organizations API
The caller’s Organizations, their SSO and AI review settings, and Eject.
Access. Listing needs sign-in; SSO, AI review policy and removing a member need org:admin in that Organization.
OpenAPI tag Organizations. Paths are relative to the API host.
| Method | Path | Operation |
|---|---|---|
| GET | /api/organizations | List organizations |
| GET | /api/organizations/{id}/sso | Get SSO settings |
| PUT | /api/organizations/{id}/sso | Replace SSO settings |
| GET | /api/organizations/{id}/ai-review-policy | Get the AI review policy |
| PATCH | /api/organizations/{id}/ai-review-policy | Update the AI review policy |
| DELETE | /api/v1/organizations/{id}/members/{userId} | Eject a member |