Autional Autional
API Reference GitHub autional.com →

GET /admin/oauth/clients/{client_id}/secrets

Returns metadata for all secrets of a specified client (without secret values).

OAuth Client Management `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
client_id path string Yes Client ID

Responses

StatusDescriptionSchema
200Secret list (includes secret_id, status, created_at, last_used_at, etc.)dto.OAuthClientSecretListDetailResponse
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
404Client not found or does not belong to the current tenantgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.OAuthClientSecretListData

OAuth client secret list

FieldTypeRequiredExampleConstraintsDescription
secrets array of

See dto.OAuthClientSecretResponse

No

dto.OAuthClientSecretListDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.OAuthClientSecretListData No
message string No
timestamp string No

dto.OAuthClientSecretResponse

OAuth client secret info, without actual secret value

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-04-15T10:30:00Z
description string No Secondary client secret
expires_at string No 2026-05-15T10:30:00Z
last_used_at string No 2026-04-15T12:00:00Z
secret_id string No secret-abc123
status string No active
updated_at string No 2026-04-15T10:30:00Z

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No