Autional Autional
API Reference GitHub autional.com →

DELETE /admin/oauth/clients/{client_id}/secrets/{secret_id}

Hard-deletes a specified secret (at least one secret must remain).

OAuth Client Management `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
client_id path string Yes Client ID
secret_id path string Yes Secret ID

Responses

StatusDescriptionSchema
204Deleted successfully (no response body)string
400Invalid request parameters: cannot delete the last secretgitee_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
404Client or secret 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