Hi Everyone, Anyone knows where can i find exampl...
# talk-hydra
n
Hi Everyone, Anyone knows where can i find examples of the endpoint
PATCH /clients/{client_id}
? I want to update the audience of a client, but i cant figure how to make the request. I saw the docs but they aren't clear. Thanks,
w
Hi Andres! I used the following patch request to include a redirect_url for a client:
Copy code
curl -X PATCH \
  <https://hydra:4445/clients/myclient> \
  -H 'content-type: application/json' \
  -d '[{
  "op": "add",
  "path":"/redirect_uris/-",
  "value": "<https://mydomain.com/callback>"
}]'
n
Hi @wooden-camera-81341, Works for me, thanks! 👋
w
😉