Hi All,
We are trying to increase the expiry of oauth token for one of the clients, however the call fails with below error:
API call -
curl --location --request PATCH ‘https:///v3/oauth-clients/:id’
–header ‘Content-Type: application/json-patch+json’
–header ‘Accept: application/json’
–header ‘Authorization: Bearer <bearer_token>’
–data ‘{
“op”: “replace”,
“path”: “/accessTokenValiditySeconds”,
“value”: 1000
}’
Response -
{
“messages”: [
{
“localeOrigin”: “DEFAULT”,
“text”: “The request was syntactically correct but its content is semantically invalid.”,
“locale”: “en-US”
}
],
“detailCode”: “400.1 Bad request content”,
“trackingId”: “e8d459f9-c792-460d-9b1e-4060d0143f1b”
}
Has anyone faced this issue before for PATCH /v3/oauth-clients/:id API?
Thanks,
Shailee