Skip to content

Commit 1d2b9c2

Browse files
Remove owner_id from Modify Guild JSON params and Delete Guild endpoint (#7720)
* Remove `owner_id` from Modify Guild JSON params * Remove `Delete Guild` endpoint
1 parent 298638b commit 1d2b9c2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/resources/guild.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,6 @@ Attempting to add or remove the `COMMUNITY` [guild feature](/docs/resources/guil
821821
| afk_channel_id | ?snowflake | id for afk channel |
822822
| afk_timeout | integer | afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600 |
823823
| icon | ?[image data](/docs/reference#image-data) | base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the server has the `ANIMATED_ICON` feature) |
824-
| owner_id | snowflake | user id to transfer guild ownership to (must be owner) |
825824
| splash | ?[image data](/docs/reference#image-data) | base64 16:9 png/jpeg image for the guild splash (when the server has the `INVITE_SPLASH` feature) |
826825
| discovery_splash | ?[image data](/docs/reference#image-data) | base64 16:9 png/jpeg image for the guild discovery splash (when the server has the `DISCOVERABLE` feature) |
827826
| banner | ?[image data](/docs/reference#image-data) | base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature) |
@@ -835,11 +834,6 @@ Attempting to add or remove the `COMMUNITY` [guild feature](/docs/resources/guil
835834
| premium_progress_bar_enabled | boolean | whether the guild's boost progress bar should be enabled |
836835
| safety_alerts_channel_id | ?snowflake | the id of the channel where admins and moderators of Community guilds receive safety alerts from Discord |
837836

838-
## Delete Guild
839-
<Route method="DELETE">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)</Route>
840-
841-
Delete a guild permanently. User must be owner. Returns `204 No Content` on success. Fires a [Guild Delete](/docs/events/gateway-events#guild-delete) Gateway event.
842-
843837
## Get Guild Channels
844838
<Route method="GET">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/channels</Route>
845839

0 commit comments

Comments
 (0)