Skip to main content
POST
Disable a code

授权

Authorization
string
header
必填

The API key's secret (osk_…), shown once when the key is created in the console.

路径参数

eventId
string
必填
codeId
string
必填

响应

The disabled code.

id
string
必填
eventId
string
必填
registrationTypeId
string
必填
code
string
必填
label
string | null
必填
maxUses
integer | null
必填
uses
integer
必填
status
enum<string>
必填
可用选项:
active,
disabled
expiresAt
string | null
必填
createdAt
string
必填