cURL
curl --request DELETE \ --url https://codecombat.com/api/classrooms/{handle}/members \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "userId": "<string>", "retMemberLimit": 123 } '
{ "_id": "<string>", "name": "<string>", "members": [ "<string>" ], "ownerID": "<string>", "description": "<string>", "courses": [ { "_id": "<string>", "levels": [ {} ], "enrolled": [ "<string>" ], "instance_id": "<string>" } ] }
Remove a user from the classroom.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The document's _id or slug.
_id
slug
The _id or slug of the user to remove from the class.
limit the return number of members for the classroom, the default value is 1000
The classroom with the member removed.
Subset of properties listed here
Show child attributes