---
title: "Delete Granted Scopes"
method: DELETE
path: "/api/{serviceId}/client/granted_scopes/delete/{clientId}"
tags: ["Client Management"]
---

# Delete Granted Scopes

`DELETE /api/{serviceId}/client/granted_scopes/delete/{clientId}`

Delete the set of scopes that an end-user has granted to a client application.

Even if records about granted scopes are deleted by calling this API, existing access tokens are
not deleted and scopes of existing access tokens are not changed.
The subject parameter is required and must be provided as a query parameter.

## Path parameters

- `serviceId` string, required
- `clientId` string, required

## Query parameters

- `subject` string, required

## Response `200`

- ClientGrantedScopesDeleteResponse
  - `resultCode` string — The code which represents the result of the API call.
  - `resultMessage` string — A short message which explains the result of the API call.

## Other responses

- `400`
- `401`
- `403`
- `429` — The request exceeded the request rate permitted for the endpoint.
- `500`

---

[API](https://skmtc.net/authlete/apis/authlete-api.md) · [All operations](https://skmtc.net/authlete/apis/authlete-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/authlete/authlete-api/versions/7ad74ab64749/schema)
