---
title: "Change who can see one of the caller's own claim sections"
method: PATCH
path: "/api/v1/identity/scope"
tags: ["Identity"]
---

# Change who can see one of the caller's own claim sections

`PATCH /api/v1/identity/scope`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/identity/scope`
- Auth: API key in header `api-key`

## Request body

- object
  - `key` string, required
  - `scope` 'everyone' | 'verified_contacts' | 'nobody', required
  - `ciphertext` string
  - `value` string

## Response `200`

OK

- IdentityPayload
  - `sections` IdentitySection[], required
    - `key` string, required
    - `label` string, required
    - `scope` 'everyone' | 'verified_contacts' | 'nobody', required
    - `scope_editable` boolean
    - `kind` 'claim' | 'proof', required
    - `editable_by` string[]
    - `checked_by` object, nullable
      - `by` 'Salt' | 'Grains'
    - `value` unknown
    - `hidden_plaintext` boolean
    - `ciphertext` string, nullable
    - `recipient_ids` string[]
    - `recipients` object[]
      - `id` string, uuid, required
      - `username` string, required
      - `display_name` string, required
      - `account_type` 'User' | 'Agent', required
      - `system` boolean: True for Salt's own Concierge/Mediator/Translator.
      - `avatar_url` string, nullable
  - `card_url` string, nullable

## Other responses

- `401`: Missing or invalid credentials.
- `422`: Your handle is always public. / Unknown scope. / etc -- see IdentitySectionWriter.set_scope!.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
