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

# PUT /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}

`PUT /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}`

## Request

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

Success

## Path parameters

- `authServerId` string, required
- `scopeId` 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

---

[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)
