Interface NetRemoveResponse

Response from removing a net.

As of shard v1.0.116 /nets/remove deletes the net permanently rather than archiving it, so archived is now false and entry is omitted. The field remains for backward compatibility with older shard versions that archived on removal.

interface NetRemoveResponse {
    action: "net.remove";
    archived: boolean;
    entry?: ArchiveEntry;
    guildId: string;
    netId: number;
    netUid: string;
    ok: boolean;
}

Properties

action: "net.remove"

Discriminator identifying this as a net-remove action.

archived: boolean

Whether the net was archived on removal. Always false on shard v1.0.116+ (permanent delete).

entry?: ArchiveEntry

Archive entry recording the removed net. Omitted on shard v1.0.116+ (not archived).

guildId: string

ID of the guild the net belonged to.

netId: number

Numeric ID of the removed net.

netUid: string

Unique string identifier of the removed net.

ok: boolean

Whether the operation succeeded.