Set the OAuth configurations of the Pack.
开发环境
开发环境
PUT
/packs/{packId}/oauthConfig
Packs
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://dev-cn.your-api-server.com/packs/123/oauthConfig' \
--header 'Content-Type: application/json' \
--data-raw '{
"clientId": "string",
"clientSecret": "string",
"redirectUri": "string"
}'
响应示例响应示例
200 - 示例 1
{
"maskedClientId": "string",
"maskedClientSecret": "string",
"authorizationUrl": "string",
"tokenUrl": "string",
"tokenPrefix": "string",
"scopes": "string",
"redirectUri": "string"
}
请求参数
Path 参数
packId
integer
必需
>= 1
示例值:
123
Body 参数application/json
返回响应
修改于 2024-03-20 08:13:15