Skip to content

Add kick endpoint #424

@jellejurre

Description

@jellejurre

Note: doesnt kick only bans from lobby

POST /user/[TARGETUSERID]/moderations

{
"type": "kick",
"targetUserId": "usr_1039a8fd-c172-4f58-9362-2f9642a1137f",
"reason": "The instance owner was disappointed in you, you will not be coming back.",
"created": "0001-01-01T00:00:00.0000000",
"expires": "0001-01-01T00:00:00.0000000",
"isPermanent": false,
"worldId": "wrld_4b341546-65ff-4607-9d38-5b7f8f405132",
"instanceId": "25221~group(grp_cc89bad1-5e9a-4d8e-8967-5b5bc6b61bd9)~groupAccessType(public)~region(us)"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Undocumented EndpointWow! This is new! This is unchartered terrirory and is only recommended by experienced comitters

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions