---
title: "Approve OAuth client"
method: POST
path: "/admin/oauth-clients/{id}:approve"
tags: ["OAuth Clients"]
---

# Approve OAuth client

`POST /admin/oauth-clients/{id}:approve`

Approve an OAuth client — sets approval_status=approved and active=true.

Also re-approves a previously denied client (deny is reversible; rows are
never deleted, so the client's cached client_id becomes valid again).

## Path parameters

- `id` string, required

## Response `200`

Successful Response

- OAuthClientResponse — An OAuth client in API responses.
  - `active` boolean, required
  - `active_grant_count` integer — Number of active consent→agent grants for this client. Computed on the read endpoints (list/get); write-path responses report 0.
  - `allowed_scopes` string[], nullable, required — Scopes this client may request. Null means unrestricted.
  - `approval_status` string, required — Admin approval lifecycle: ``pending``, ``approved``, or ``denied``. Only approved clients may enter OAuth flows; ``active`` remains the independent kill switch.
  - `client_id` string, required — Public client identifier used in OAuth flows.
  - `consent_model` string, required — What a user's consent grants for this client: ``user`` or ``agent``.
  - `created_at` string, date-time, required
  - `created_by` string, nullable, required
  - `description` string, nullable, required
  - `id` string, required — Internal ID (ksuid).
  - `name` string, required
  - `redirect_uris` string[], required
  - `registration_source` string, required — How the client entered the registry: ``admin`` or ``dcr``.
  - `require_consent` boolean, required — Whether a consent screen is shown during authorization.
  - `software_id` string, nullable, required — RFC 7591 software identifier claimed at registration, if any.
  - `token_endpoint_auth_method` string, required — Client authentication method at the token endpoint: ``client_secret_basic`` (confidential) or ``none`` (public, PKCE-only).
  - `updated_at` string, date-time, nullable, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `503` — Service Unavailable

## Changes

- **2026-09-02** `03e3ca4f329f` — 1 info
  - added the optional property `active_grant_count` to the response with the `200` status
- **2026-09-01** `52699e827836` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/jentic/apis/jentic-control-plane-api/changes/admin/oauth-clients/:id:approve/post.md)

---

[API](https://skmtc.dev/jentic/apis/jentic-control-plane-api.md) · [All operations](https://skmtc.dev/jentic/apis/jentic-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jentic/jentic-control-plane-api/revisions/9bf681f70f76/schema)
