cURL
curl --request PUT \ --url https://{tenant_id}.hanko.io/admin/webhooks/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "callback": "<string>", "events": [ "user" ], "enabled": true }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "callback": "<string>", "enabled": true, "failures": 1, "expires_at": "2023-11-07T05:31:56Z", "events": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "event": "user" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2022-09-14T12:15:09.788784Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.
Bearer <token>
<token>
UUID of the requested object
OK
The response is of type object.
object
Was this page helpful?