> For the complete documentation index, see [llms.txt](https://intuitem.gitbook.io/ciso-assistant/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://intuitem.gitbook.io/ciso-assistant/api-documentation/api-reference/scim.md). Agents can also search and read this documentation through its [MCP server](https://intuitem.gitbook.io/ciso-assistant/~gitbook/mcp).

# SCIM

## GET /api/scim/v2/Groups

> SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\
> membership (idp\_group.users), while an admin decides which CISO user\
> groups it grants (idp\_group.user\_groups). Unknown groups are auto-created\
> on first push and grant nothing until an admin wires their user groups.\
> The IdPGroup's own UUID is the stable SCIM id, so renames only change the\
> displayName.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Groups":{"get":{"operationId":"scim_v2_Groups_retrieve","description":"SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\nmembership (idp_group.users), while an admin decides which CISO user\ngroups it grants (idp_group.user_groups). Unknown groups are auto-created\non first push and grant nothing until an admin wires their user groups.\nThe IdPGroup's own UUID is the stable SCIM id, so renames only change the\ndisplayName.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/scim/v2/Groups

> SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\
> membership (idp\_group.users), while an admin decides which CISO user\
> groups it grants (idp\_group.user\_groups). Unknown groups are auto-created\
> on first push and grant nothing until an admin wires their user groups.\
> The IdPGroup's own UUID is the stable SCIM id, so renames only change the\
> displayName.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Groups":{"post":{"operationId":"scim_v2_Groups_create","description":"SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\nmembership (idp_group.users), while an admin decides which CISO user\ngroups it grants (idp_group.user_groups). Unknown groups are auto-created\non first push and grant nothing until an admin wires their user groups.\nThe IdPGroup's own UUID is the stable SCIM id, so renames only change the\ndisplayName.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}}],"tags":["scim"],"responses":{"201":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/Groups/{id}

> SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\
> membership (idp\_group.users), while an admin decides which CISO user\
> groups it grants (idp\_group.user\_groups). Unknown groups are auto-created\
> on first push and grant nothing until an admin wires their user groups.\
> The IdPGroup's own UUID is the stable SCIM id, so renames only change the\
> displayName.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Groups/{id}":{"get":{"operationId":"scim_v2_Groups_retrieve_2","description":"SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\nmembership (idp_group.users), while an admin decides which CISO user\ngroups it grants (idp_group.user_groups). Unknown groups are auto-created\non first push and grant nothing until an admin wires their user groups.\nThe IdPGroup's own UUID is the stable SCIM id, so renames only change the\ndisplayName.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## PUT /api/scim/v2/Groups/{id}

> PUT — full replace. The members list becomes the new membership.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Groups/{id}":{"put":{"operationId":"scim_v2_Groups_update","description":"PUT — full replace. The members list becomes the new membership.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## DELETE /api/scim/v2/Groups/{id}

> SCIM DELETE — remove the IdP group. Members lose the user groups it\
> granted (computed), but their direct (manual) memberships are\
> unaffected since those live in a separate relation.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Groups/{id}":{"delete":{"operationId":"scim_v2_Groups_destroy","description":"SCIM DELETE — remove the IdP group. Members lose the user groups it\ngranted (computed), but their direct (manual) memberships are\nunaffected since those live in a separate relation.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/scim/v2/Groups/{id}

> SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\
> membership (idp\_group.users), while an admin decides which CISO user\
> groups it grants (idp\_group.user\_groups). Unknown groups are auto-created\
> on first push and grant nothing until an admin wires their user groups.\
> The IdPGroup's own UUID is the stable SCIM id, so renames only change the\
> displayName.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Groups/{id}":{"patch":{"operationId":"scim_v2_Groups_partial_update","description":"SCIM Group endpoints. A SCIM Group is an IdPGroup: SCIM manages its\nmembership (idp_group.users), while an admin decides which CISO user\ngroups it grants (idp_group.user_groups). Unknown groups are auto-created\non first push and grant nothing until an admin wires their user groups.\nThe IdPGroup's own UUID is the stable SCIM id, so renames only change the\ndisplayName.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/ResourceTypes

> GET /ResourceTypes — list every resource type the server exposes.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/ResourceTypes":{"get":{"operationId":"scim_v2_ResourceTypes_retrieve","description":"GET /ResourceTypes — list every resource type the server exposes.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/ResourceTypes/{resource\_id}

> GET /ResourceTypes/{id} — single resource type.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/ResourceTypes/{resource_id}":{"get":{"operationId":"scim_v2_ResourceTypes_retrieve_2","description":"GET /ResourceTypes/{id} — single resource type.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"resource_id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/Schemas

> GET /Schemas — list every schema CISO Assistant supports.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Schemas":{"get":{"operationId":"scim_v2_Schemas_retrieve","description":"GET /Schemas — list every schema CISO Assistant supports.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/Schemas/{schema\_id}

> GET /Schemas/{urn} — single schema definition.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Schemas/{schema_id}":{"get":{"operationId":"scim_v2_Schemas_retrieve_2","description":"GET /Schemas/{urn} — single schema definition.","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"schema_id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/ServiceProviderConfig

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/ServiceProviderConfig":{"get":{"operationId":"scim_v2_ServiceProviderConfig_retrieve","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/Users

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Users":{"get":{"operationId":"scim_v2_Users_retrieve","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /api/scim/v2/Users

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Users":{"post":{"operationId":"scim_v2_Users_create","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}}],"tags":["scim"],"responses":{"201":{"description":"No response body"}}}}}}
```

## GET /api/scim/v2/Users/{id}

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Users/{id}":{"get":{"operationId":"scim_v2_Users_retrieve_2","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## PUT /api/scim/v2/Users/{id}

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Users/{id}":{"put":{"operationId":"scim_v2_Users_update","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```

## DELETE /api/scim/v2/Users/{id}

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Users/{id}":{"delete":{"operationId":"scim_v2_Users_destroy","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/scim/v2/Users/{id}

>

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"scim"}],"paths":{"/api/scim/v2/Users/{id}":{"patch":{"operationId":"scim_v2_Users_partial_update","parameters":[{"in":"query","name":"format","schema":{"type":"string","enum":["json","scim+json"]}},{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["scim"],"responses":{"200":{"description":"No response body"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://intuitem.gitbook.io/ciso-assistant/api-documentation/api-reference/scim.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
