许可吊销(owner/admin;终态,恒审计;epoch 递增)
POST
/v1/org-licenses/{id}/revoke
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”x-tansr-org
string
Org 作用域声明(org 公开 id);服务端校验成员资格与角色,非成员恒 404、角色不够 403
Responses
Section titled “Responses”吊销后许可
Media typeapplication/json
object
license
required
object
id
required
string
appId
required
绑定 org 键(api_keys.public_id;UNIQUE 一键一照)
string
epoch
required
许可纪元(revoke/suspend 递增;末端缓存失效锚)
integer
createdAt
required
string
Example
{ "license": { "principalType": "member", "status": "issued", "sourceType": "approval" }}本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。