Create organization
Create organization.
Header Parameters
- Authorization requiredOauth2 token or private token (needs to start with Bearer plus a space) 
- application/json
Request Body required
create org request body
- name stringname of organization 
- org stringname space of organization 
- description stringdescription of organization 
- 200
- 400
- 401
- 403
Success
- application/json
- Schema
- Example (from schema)
Schema
- login stringorganization name 
- id stringorganization id 
- url stringOrganization's OepnApi address 
- repos_url stringorganization’s repos address 
- events_url stringThe organization’s event address 
- hooks_url stringOrganization’s hooks address 
- issues_url stringThe organization’s issue address 
- members_url stringThe organization’s members address 
- public_members_url stringThe organization’s public members address 
- avatar_url stringOrganization avatar address 
- description stringdescription of the organization 
- name stringthe organization's name 
- company stringOrganization official website 
- blog stringOrganization's blog 
- location stringOrganization location 
- public_repos IntegerThe number of public repositories of the organization 
- followers IntegerNumber of fans of the organization 
- following IntegerNumber of followers of the organization 
- email stringOrganization's email address 
- html_url stringURL of the organization 
- created_at stringCreation time of the organization 
- updated_at stringOrganization update time 
- type stringtype of organization 
{
  "login": "csdn",
  "id": "62b59720cbcaeffdff0148ce",
  "url": "https://api.atomgit.com/orgs/csdn",
  "repos_url": "https://api.atomgit.com/orgs/csdn/repos",
  "events_url": "https://api.atomgit.com/orgs/csdn/events",
  "hooks_url": "https://api.atomgit.com/orgs/csdn/hooks",
  "issues_url": "https://api.atomgit.com/orgs/csdn_test2/issues",
  "members_url": "https://api.atomgit.com/orgs/csdn/members/{/member}",
  "public_members_url": "https://api.atomgit.com/orgs/csdn/public_members/{/member}",
  "avatar_url": "https://img-host/uploads/org/1656042927816_7741.png",
  "description": "csdn is a goog website",
  "name": "test organization",
  "company": "http://www.csdn.net",
  "blog": "http://www.csdn.net",
  "location": "Chaoyang District, Beijing",
  "public_repos": 1,
  "followers": 10,
  "following": 0,
  "email": "admin@csdn.net",
  "html_url": "https://atomgit.com/csdn",
  "created_at": "2022-12-21T15:45:17+08:00",
  "updated_at": "2022-12-21T15:45:17+08:00",
  "type": "Organization"
}
Parameter error.
Operation failed, not logged in yet
No permission yet, operation failed.