Autional Autional
API Reference GitHub autional.com →

DELETE /admin/oauth/devices/{device_code}

Revokes a specified device authorization session, marking it as expired. Admin only.

OAuth `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
device_code path string Yes Device code

Responses

StatusDescriptionSchema
200Revocation successfulgitee_com_linmes_authms_base_dto.SimpleResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticated: provide a valid Bearer Tokengitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissions: administrator role requiredgitee_com_linmes_authms_base_dto.SimpleResponse
404Device authorization not foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No