---
title: "put scope settings."
method: PATCH
path: "/api/v1/settings/scope"
tags: ["Settings"]
---

# put scope settings.

`PATCH /api/v1/settings/scope`

## Request

- Base URL: `https://api.intheloop.io`
- URL: `https://api.intheloop.io/api/v1/settings/scope`
- Auth: API key in header `Authorization`

## Headers

- `Authorization` string

## Request body

- ScopeSettings: Scope settings
  - `scopeName` string: Attachment
  - `keyValues` object: Key value settings

## Response `200`

OK

- ScopeSettings: Scope settings
  - `scopeName` string: Attachment
  - `keyValues` object: Key value settings

## Other responses

- `401`: Unauthorized request. Check fields message and error code from response body for additional information.
- `404`: Not Found
- `429`: Too many requests. Check response header Retry-After indicating how long to wait before making a new request.
- `451`: Unavailable because account is not verified.

---

[API](https://skmtc.dev/intheloop/apis/loop-api.md) - [All operations](https://skmtc.dev/intheloop/apis/loop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intheloop/apis/loop-api/revisions/0892c5ba0787?raw)
