Example Usage
import { DeleteScimGroupMappingRequest } from "@openrouter/sdk/models/operations";
let value: DeleteScimGroupMappingRequest = {
id: "2210fac9-1a69-402d-867a-d6080dba1059",
keepMembers: false,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
httpReferer | string | ➖ | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
appTitle | string | ➖ | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
appCategories | string | ➖ | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
id | string | ✔️ | N/A | |
keepMembers | operations.KeepMembers | ✔️ | Required. Whether to keep workspace members after deleting the mapping. false removes SCIM-managed workspace memberships that no surviving mapping grants (including members of this group and any stale SCIM-managed memberships outside it); true deletes the mapping while converting current members of an active mapped group to manually-managed (retaining the lower of their stored role and the deleted mapping’s role) if no other mapping grants them access to the workspace (surviving mappings to the same workspace take precedence and keep the member SCIM-managed with their remaining role; orphaned SCIM memberships and members of a soft-deleted group are still revoked). There is deliberately no default — omitting it returns 400 so the destructive path cannot be reached by accident. Mirrors the dashboard, whose DeleteMappingSchema.keepMembers is likewise required. | false |