Skip to Content
ZITADEL Docs
APIsCore ResourcesV2OIDC

Authorize or Deny Device Authorization

Authorize or deny the device authorization request based on the provided device authorization id.

Required permissions:

  • session.link
POST
/v2/oidc/device_authorization/{device_authorization_id}

Path Parameters

device_authorization_id*device_authorization_id

The device authorization id returned when submitting the user code.

Request Body

application/json
  1. body
deny*

Deny the device authorization request.

Response Body

Success

application/json
  1. response
Example Request
curl -X POST 'https://example.com/v2/oidc/device_authorization/string' \  -H 'Content-Type: application/json' \  -d '{  "deny": {}}'
Example Response200
{}

Was this page helpful?