---
title: "POST /api/v1/authorizationServers/{authServerId}/scopes"
method: POST
path: "/api/v1/authorizationServers/{authServerId}/scopes"
tags: ["AuthorizationServer"]
---

# POST /api/v1/authorizationServers/{authServerId}/scopes

`POST /api/v1/authorizationServers/{authServerId}/scopes`

## Request

- Base URL: `https://your-subdomain.okta.com`
- URL: `https://your-subdomain.okta.com/api/v1/authorizationServers/{authServerId}/scopes`
- Auth: API key in header `Authorization`

Success

## Path parameters

- `authServerId` string, required

## Request body

- OAuth2Scope
  - `consent` 'REQUIRED' | 'IMPLICIT' | 'ADMIN'
  - `default` boolean
  - `description` string
  - `displayName` string
  - `id` string
  - `metadataPublish` 'ALL_CLIENTS' | 'NO_CLIENTS'
  - `name` string
  - `system` boolean

## Response `200`

Success

- OAuth2Scope
  - `consent` 'REQUIRED' | 'IMPLICIT' | 'ADMIN'
  - `default` boolean
  - `description` string
  - `displayName` string
  - `id` string
  - `metadataPublish` 'ALL_CLIENTS' | 'NO_CLIENTS'
  - `name` string
  - `system` boolean

## Other responses

- `201`: Success

---

[API](https://skmtc.dev/okta/apis/okta-api.md) - [All operations](https://skmtc.dev/okta/apis/okta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/okta/apis/okta-api/revisions/7e5249c30571?raw)
