Request example
curl -X PATCH "https://api.buddy.works/oauth2/register/:client_id" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"client_name": "Updated Application Name",
"redirect_uris": [
"https://client.example.org/callback",
"https://client.example.org/callback2"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "client_secret_basic",
"client_uri": "https://client.example.org",
"description": "Updated OAuth 2.0 application description",
"token_expires_in": 7200
}'