Autional Autional
API Reference GitHub autional.com →

PUT /admin/points/{user_id}/status

Admin operation. Update points account status. Suspended status prevents earn/spend operations; closed status is irreversible.

Points Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id path string Yes User ID

Request Body

Schema: dto.UpdateAccountStatusRequest

FieldTypeRequiredExampleConstraintsDescription
status string Yes

Responses

StatusDescriptionSchema
200Status updated successfullygitee_com_linmes_authms_base_dto.SimpleResponse
400Bad requestgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthorizedgitee_com_linmes_authms_base_dto.SimpleResponse
403Forbiddengitee_com_linmes_authms_base_dto.SimpleResponse
404Account 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