update webhook
PATCH {{baseUrl}}/webhooks/:webhook_id
Modify a webhook
Request Body
{"name"=>"<string>", "avatar"=>"<string,null>", "channel_id"=>"<string,null>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","type":3,"application_id":"\u003cstring,null\u003e","avatar":"\u003cstring,null\u003e","channel_id":"\u003cstring,null\u003e","guild_id":"\u003cstring,null\u003e","user":"\u003cnull\u003e"}