ZITADEL Docs
APIsCore ResourcesV2OIDC

AuthorizeOrDenyDeviceAuthorization

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*string

The device authorization id returned when submitting the user code.

Response Body

application/json

application/json

curl -X POST "https://loading/v2/oidc/device_authorization/string"
{}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?