1. Internal
dy-gateway
  • Health
    • 健康检查
      GET
  • Open
    • 统一券核销入口
      POST
    • 验券准备
      POST
    • 获取当前抖音 access_token
      GET
    • 查询门店信息
      GET
  • Internal
    • 查询核销流水
      GET
    • 查询核销汇总报表
      GET
    • 创建核销端应用
      POST
    • 查询核销端应用列表
      GET
    • 修改应用 token 读取权限
      PATCH
  • 数据模型
    • HealthResponse
    • ErrorResponse
    • MessageResponse
    • AppStatus
    • VerificationStatus
    • EnrichmentStatus
    • OrderStatus
    • PrepareCouponRequest
    • VerifyCouponRequest
    • VerificationView
    • VerificationResponse
    • AccessToken
    • AccessTokenResponse
    • VerifierApp
    • CreateAppResponseData
    • CreateAppRequest
    • CreateAppResponse
    • AppListResponse
    • UpdateTokenAccessRequest
    • VerificationListResponse
    • VerificationSummaryRow
    • VerificationSummaryResponse
  1. Internal

修改应用 token 读取权限

PATCH
/v1/internal/apps/{id}/token-access

请求参数

Authorization
API Key
在 header 添加参数
X-XTJ-UID
示例:
X-XTJ-UID: ********************
or
Path 参数

Body 参数application/json必填

示例
{
    "allow_token_read": true
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/v1/internal/apps//token-access' \
--header 'X-XTJ-UID: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "allow_token_read": true
}'

返回响应

🟢200成功
application/json
更新成功
Body

示例
{
    "message": "string"
}
🟠400请求有误
🟠401未认证
🔴500服务器内部错误
修改于 2026-03-16 02:28:54
上一页
查询核销端应用列表
下一页
HealthResponse
Built with