Replace client
documentedReplaces a dynamic OAuth client.
PUT /oauth2/v1/clients/{clientId}OAuth 2.0no implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$org_domain}}/oauth2/v1/clients/{{$client_id}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"application_type": "{{$application_type}}", "client_name": "{{$client_name}}", "client_uri": "{{$client_uri}}", "logo_uri": "{{$logo_uri}}", "redirect_uris": {{$redirect_uris}}, "post_logout_redirect_uris": {{$post_logout_redirect_uris}}, "response_types": {{$response_types}}, "grant_types": {{$grant_types}}, "token_endpoint_auth_method": "{{$token_endpoint_auth_method}}", "initiate_login_uri": "{{$initiate_login_uri}}", "frontchannel_logout_uri": "{{$frontchannel_logout_uri}}", "frontchannel_logout_session_required": {{$frontchannel_logout_session_required}}, "id_token_encrypted_response_alg": "{{$id_token_encrypted_response_alg}}", "jwks": {{$jwks}}, "keys": {{$keys}}, "policy_uri": "{{$policy_uri}}"}'