---
title: "Calculate settings"
method: POST
path: "/settings"
tags: ["deprecated"]
deprecated: true
---

# Calculate settings

`POST /settings`

> **Deprecated.**

**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/updateorgsecuritypolicy) instead.

Get current settings for the requested organizations and default settings to allow deferrals.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:
- No Scopes Required, but authentication is required

## Request body

- object[]
  - `organization` string

## Response `200`

Organization settings. Returned object contains default issue rules and an array of entries, with each entry representing an organization's settings.

- object
  - `defaults` object, required
    - `issueRules` object, required
  - `entries` object[], required
    - `start` string, nullable, required
    - `settings` object, required

## Other responses

- `401` — Unauthorized
- `403` — Insufficient max_quota for API method
- `404` — Resource not found
- `429` — Insufficient quota for API route

---

[API](https://skmtc.dev/socket-dev/apis/socket.md) · [All operations](https://skmtc.dev/socket-dev/apis/socket/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socket-dev/socket/revisions/bf994b75d33f/schema)
