update webhook by token

PATCH {{baseUrl}}/webhooks/:webhook_id/:webhook_token

Modify a webhook using a webhook token (without authentication)

Request Body

{"name"=>"<string>", "avatar"=>"<string,null>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:3,&quot;application_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;avatar&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;channel_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;guild_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;user&quot;:&quot;\u003cnull\u003e&quot;}