Nostrum.Api.delete_invite

You're seeing just the function delete_invite, go back to Nostrum.Api module for more information.
Link to this function

delete_invite(invite_code)

View Source

Specs

Deletes an invite by its invite_code.

This endpoint requires the MANAGE_CHANNELS permission.

If successful, returns {:ok, invite}. Otherwise, returns a Nostrum.Api.error/0.

Examples

Nostrum.Api.delete_invite("zsjUsC")