delete

open suspend fun delete(reason: String? = null)(source)

Requests to delete this webhook, this user must be the creator.

Parameters

reason

the reason showing up in the audit log

Throws

if something went wrong during the request.


open suspend fun delete(token: String, reason: String? = null)(source)

Requests to delete this webhook.

Parameters

reason

the reason showing up in the audit log

Throws

if something went wrong during the request.