{"_id":"567de59b5851801700566889","parentDoc":null,"__v":1,"editedParams":true,"editedParams2":true,"version":{"_id":"55af2569826d210d00041df1","project":"55af2569826d210d00041dee","__v":24,"createdAt":"2015-07-22T05:08:57.777Z","releaseDate":"2015-07-22T05:08:57.777Z","categories":["55af256a826d210d00041df2","55af6a25826d210d00041e6e","55af6a29555b900d0036d2b9","55b0adaaf202b12100cda284","55b1c4574311490d0092916b","55b8ab85dec1c9210013cf7e","55b8ab94dec1c9210013cf7f","55c1aafd1230af1700d78d3e","55c409f8afefb00d00727f49","55c452448b45eb0d004cfa74","55c9ab71e4927a0d0004a6dc","55d191593ea9882100ec86bc","55dd4a91bfbc6417007a1232","55ecdeafb2714d2100f227c6","565d5457d18ae50d0071845d","565d64a165242f0d00d93199","5665199cc8981f0d0039a87b","56764e49baf6721700cf18ae","57202f98a0acd42000af9679","57204c40c669e80e00c34f80","575357a54d4f120e0096b115","5754e14222cb8d1900a97659","5754e14949a0bf0e004b6f3a","5754e2a849a0bf0e004b6f3d"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"5588ba6b1163180d00b646a2","category":{"_id":"55af6a25826d210d00041e6e","pages":["55b0422cbc77fd0d00458770","55b0c078f202b12100cda2c5","55b19196b3a7e037008ac2d3","55b836bdaea7c8190058bba5","55b84917171b920d001e8d51","55b84d5dd9caa30d001aae5c","55b85016d9caa30d001aae60","55b863379ba4120d00cea013","55b8677a8d56a80d00aaa9c0","55b86a9e8ea8d50d00922a06","55b86f8d8ea8d50d00922a11","55b871eb8d56a80d00aaa9ca","55b8781e8ea8d50d00922a24","55b8afb144d74b2f0084fe6f","56527b018ba34b1700f114ea","565bfb41ea82b00d00f94945","565bfd67687b0d0d00410064","565d30c9f3e9360d00823f21","565d3bd1b311ea0d00a3844f","565d51fab311ea0d00a38466","5668edced000ff1700ca4782","5694881d46b943190027fe78","5695f17477ba0d2300cf397e"],"__v":23,"version":"55af2569826d210d00041df1","project":"55af2569826d210d00041dee","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-22T10:02:13.955Z","from_sync":false,"order":1,"slug":"users","title":"user"},"project":"55af2569826d210d00041dee","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-26T00:55:55.118Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"status":200,"language":"text","code":"''","name":""},{"status":400,"language":"json","code":"{\n  code:400,\n  error:\"Error in call to API function company/create\",\n  error_description:\"xxx missing required field.\"\n}","name":""},{"status":409,"language":"json","code":"{\n  \"code\":409,\n  \"error\":\"email_existed\",\n  \"error_description\":\"email existed.\"\n}"}]},"settings":"","examples":{"codes":[{"code":"curl -X POST \thttps://app.minicloud.io/api/v1/company/create \\\n    --header \"Content-Type: application/json\" \\ \n    --data \"{\\\"email\\\":\\\"xxx:::at:::gmail.com\\\",\\\"nick\\\":\\\"xxx\\\",\\\"passwd\\\":\\\"1234567\\\"}\"","name":"","language":"curl"}]},"method":"post","auth":"never","params":[{"_id":"55c4175c8b45eb0d004cfa00","ref":"","in":"body","required":true,"desc":"administrator email","default":"","type":"string","name":"email"},{"_id":"5720270ba0acd42000af9665","ref":"","in":"body","required":true,"desc":"company name","default":"","type":"string","name":"nick"},{"_id":"5720270ba0acd42000af9664","ref":"","in":"body","required":true,"desc":"administrator password","default":"","type":"string","name":"passwd"}],"url":"/company/create"},"isReference":false,"order":0,"body":"","excerpt":"create company","slug":"company_create","type":"endpoint","title":"company/create"}

postcompany/create

create company

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

email:
required
string
administrator email
nick:
required
string
company name
passwd:
required
string
administrator password

Examples


Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}