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 the members this mapping granted access to; true deletes the mapping while leaving membership intact as manually-managed. Exception: for an admin mapping, keep_members=true returns 403 and leaves the mapping in place — management keys cannot preserve members as workspace admins, so do not plan an admin mapping rotation around preserving members through this endpoint (use the dashboard instead). 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 |