v2

latestOpenAPI 3.0.0AGPLv32026-07-26125148364.7 KB
Channel Information

Edit Channel

Edit a channel object by its id.

patch/channels/{target}

Path parameters

targetstring required

Headers

X-Audit-Log-Reasonstring

Reason for action which is stored in the audit log.

Request body

namestring nullable

Channel name

descriptionstring nullable

Channel description

ownerstring nullable

Group owner

iconstring nullable

Icon

Provide an Autumn attachment Id.

nsfwboolean nullable

Whether this channel is age-restricted

archivedboolean nullable

Whether this channel is archived

slowmodeinteger nullable

The channel's slow mode delay in seconds, up to 6 hours

removeFieldsChannel[]

Fields to remove from channel

Response

OR
OR
OR