English
Postman
OpenAPI
Contact us
Sign up
Search...
/
Overview
Introduction
API Reference
POST
Add Oauth2 Identity
Auth
GET
Login User
Clans
PUT
Upsert User Into Clan
Classrooms
GET
Get Classroom Details
POST
Create a classroom
PUT
Upsert a user from classroom
DEL
Delete User from Classroom
PUT
Enroll User in a Course
PUT
Remove User from a classroom
GET
Get Member Stats
GET
Get Level Session
Stats
GET
Get Playtime Stats
GET
Get License Stats
Users
POST
Create User
GET
Get User
PUT
Update User
GET
Get Classrooms By User
PUT
Get User Hero
PUT
Put Ace Config
PUT
Put Subscription
PUT
Shorten User Subscription
PUT
Grant User License
PUT
Shorten User License
GET
Search for User
Postman
OpenAPI
Contact us
Sign up
API Reference
Clans
Upsert User Into Clan
PUT
https://
codecombat.com
/
api
/
clan
/
:handle
/
members
Upserts a user into the clan.
Path parameters
handle
string
Required
The document’s
_id
or
slug
.
Request
This endpoint expects an object.
userId
string
Required
The
_id
or
slug
of the user to add to the clan.
Response
This endpoint returns an object
_id
string
Optional
name
string
Optional
displayName
string
Optional
members
list of strings
Optional
ownerID
string
Optional
description
string
Optional
type
string
Optional
kind
string
Optional
metadata
map from strings to any
Optional
Built with