Authorize or deny device authorization
POST/v2/oidc/device_authorization/:deviceAuthorizationId
Authorize or deny the device authorization request based on the provided device authorization id.
Request​
Path Parameters
The device authorization id returned when submitting the user code.
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
session
object
To authorize the device authorization request, the user's session must be provided.
Possible values: non-empty
and <= 200 characters
ID of the session, used to login the user. Connects the session to the Auth Request.
Possible values: non-empty
and <= 200 characters
Token to verify the session is valid
Deny the device authorization request.
Body
required
session
object
To authorize the device authorization request, the user's session must be provided.
Possible values: non-empty
and <= 200 characters
ID of the session, used to login the user. Connects the session to the Auth Request.
Possible values: non-empty
and <= 200 characters
Token to verify the session is valid
Deny the device authorization request.
Body
required
session
object
To authorize the device authorization request, the user's session must be provided.
Possible values: non-empty
and <= 200 characters
ID of the session, used to login the user. Connects the session to the Auth Request.
Possible values: non-empty
and <= 200 characters
Token to verify the session is valid
Deny the device authorization request.
Responses​
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
object
{}
- Schema
- Example (from schema)
Schema
object
{}
- Schema
- Example (from schema)
Schema
object
{}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}