access_token
的有效期为30天,删除PingCode的应用或重置应用的Secret都会导致access_token
失效。Authorization: Bearer ********************
curl --location -g --request GET 'https://open.pingcode.com/v1/auth/token?grant_type=client_credentials&client_id={client_id}&client_secret={client_secret}'
{
"access_token": "e7321ca8-f724-4abd-9169-d76d095c6acf",
"token_type": "Bearer",
"expires_in": 1577808000
}