# Remove user from list Removes a user from a list. Only the list owner can remove users. Endpoint: DELETE /api/v1/lists/{listId}/users/{userId} Version: 1.0 Security: header ## Path parameters: - `listId` (string, required) UUID with type prefix Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `userId` (string, required) UUID with type prefix Example: "us_01hxcvk1hjexere4pvtrj0ymqq" ## Response 200 fields (application/json): - `id` (string, required) Internal list id Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `userId` (string, required) Owner of the list Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `name` (string, required) - `description` (string,null) - `icon` (string,null) - `private` (boolean) - `pinned` (boolean) - `createdAt` (string, required) Example: "2022-03-10T16:15:50Z" - `updatedAt` (string, required) Example: "2022-03-10T16:15:50Z" - `users` (array, required) - `users.groupUserName` (string,null) Name of the channel inside a group - `users.id` (string, required) internal id of this user Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `users.username` (string, required) unique user name Example: "john_smith" - `users.domain` (string, required) user's domain, remote only, empty for local Example: "wlsly1.net" - `users.displayName` (string, required) full name of the user Example: "John Smith" - `users.uri` (string, required) URI of this user Example: "https://wlsly1.net/users/john_smith" - `users.avatar` (object,null) User's avatar - `users.avatar.uploadId` (string, required) Internal id Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `users.avatar.userId` (string, required) User id this upload belongs to Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `users.avatar.uploadType` (string, required) Type of the upload Enum: "VIDEO", "IMAGE", "AUDIO", "DOCUMENT", "OTHER" - `users.avatar.meta` (object, required) Meta data - `users.avatar.meta.blurhash` (string,null) - `users.avatar.meta.altText` (string,null) - `users.avatar.size` (integer, required) Size in bytes of all the files in this upload - `users.avatar.files` (array, required) List of all the files this upload has - `users.avatar.files.uri` (string,null, required) Full url of the file - `users.avatar.files.fileId` (string, required) File id Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `users.avatar.files.extension` (string, required) File extension Example: "mp4" - `users.avatar.files.original` (boolean, required) true if this file is original, false if it is a derivative - `users.avatar.files.meta` (object, required) File metadata. Contains optional values for width, height etc. - `users.avatar.files.meta.duration` (number,null) Video duration in seconds - `users.avatar.files.meta.width` (integer,null) Media width - `users.avatar.files.meta.height` (integer,null) Media height - `users.avatar.files.meta.codec` (string,null) Video codec - `users.avatar.files.meta.rotate` (integer,null) Rotation in degrees - `users.avatar.files.size` (integer, required) File size in bytes - `users.avatar.files.type` (string, required) File type Enum: "VIDEO", "IMAGE", "AUDIO", "DOCUMENT", "OTHER" - `users.avatar.tags` (array, required) List of tags attached to upload Enum: "Post", "Avatar", "Header", "Album", "Emoji", "Event" - `users.avatar.error` (string,null) Upload processing error - `users.avatar.cached` (boolean) true if cached - `users.avatar.logs` (string,null) Logs - `users.avatar.remote` (boolean) true if this upload is remote - `users.deleted` (boolean,null) - `users.state` (string, required) User's moderation state Enum: "REGULAR", "SENSITIVE", "LIMITED", "SUSPENDED" - `users.relationship` (object,null) Relationship with this user - `users.relationship.following` (string,null) Does the viewer follow the target? Enum: "PENDING", "ACCEPTED", "REJECTED" - `users.relationship.followed` (string,null) Does the target follow the viewer? Enum: "PENDING", "ACCEPTED", "REJECTED" - `users.relationship.blocked` (boolean,null) Viewer blocked the target - `users.relationship.blockedBy` (boolean,null) Target blocked the viewer - `users.relationship.muted` (object,null) Viewer mutes the target - `users.relationship.muted.state` (boolean) - `users.relationship.muted.expiresAt` (string,null) Example: "2022-03-10T16:15:50Z" - `users.relationship.note` (string,null) Viewer's private note about the target - `users.channel` (boolean) Whether this is a channel or a user - `users.groupId` (string,null) UUID with type prefix Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `users.groupPrivacy` (string,null) * PUBLIC - Channel is visible to everyone and can be followed by anyone. * PRIVATE - Channel is visible only to group members and can only be followed by group members. Enum: "PUBLIC", "PRIVATE" - `users.groupMain` (boolean,null) - `users.groupDefault` (boolean,null) - `users.actorType` (string,null) Whether this user is a person, application or a service Enum: "Application", "Group", "Organization", "Person", "Service" ## Response 400 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation ## Response 401 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation ## Response 403 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation ## Response 404 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation