Creates a user. Please note this api requires administrative privileges.
POST /api/users
Example Request Body:
{
"login": "octocat",
"email": "octocat@github.com",
"avatar_url": "http://www.gravatar.com/avatar/7194e8d48fa1d2b689f99443b767316c",
"active": true
}
Example Response Body:
{
"id": 1,
"login": "octocat",
"email": "octocat@github.com",
"avatar_url": "http://www.gravatar.com/avatar/7194e8d48fa1d2b689f99443b767316c",
"admin": false,
"active": true
}
Is there a mistake on this page? Please let us know or edit this page.