---
title: "Set domain-to-project mappings under current owner authority"
method: PUT
path: "/v1/workspace/security/sso/{domain_id}/scim/mappings"
---

# Set domain-to-project mappings under current owner authority

`PUT /v1/workspace/security/sso/{domain_id}/scim/mappings`

## Request

- Base URL: `https://api.specstream.ai`
- URL: `https://api.specstream.ai/v1/workspace/security/sso/{domain_id}/scim/mappings`
- Auth: API key in header `Authorization`

## Path parameters

- `domain_id` string, required

## Request body

- SCIMMappings
  - `mappings` SCIMProjectMapping[], required
    - `group_id` string
    - `project_id` string, required
    - `role` 'viewer' | 'editor'
    - `monthly_spend_cap_cents` integer

## Response `200`

Set domain-to-project mappings under current owner authority

- object
  - `data` SCIMMappings, required
    - `mappings` SCIMProjectMapping[], required
      - `group_id` string
      - `project_id` string, required
      - `role` 'viewer' | 'editor'
      - `monthly_spend_cap_cents` integer

## Other responses

- `default`: Error envelope

---

[API](https://skmtc.dev/specstream/apis/specstream-api.md) · [All operations](https://skmtc.dev/specstream/apis/specstream-api/llms.txt) · [OpenAPI document](https://skmtc.dev/specstream/apis/specstream-api/revisions/5a9f51143a13?raw)
