{"__v":5,"_id":"58a4c4a689e3232300e5c49b","category":{"__v":0,"_id":"57f53fb368a53b2000e03f0f","project":"5588b8a2f6c18d0d005bba03","version":"5588b8a2f6c18d0d005bba06","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-10-05T18:00:19.547Z","from_sync":false,"order":0,"slug":"api","title":"REST API"},"parentDoc":null,"project":"5588b8a2f6c18d0d005bba03","user":"5588b847f6c18d0d005bba01","version":{"__v":14,"_id":"5588b8a2f6c18d0d005bba06","project":"5588b8a2f6c18d0d005bba03","createdAt":"2015-06-23T01:38:42.696Z","releaseDate":"2015-06-23T01:38:42.696Z","categories":["5588b8a3f6c18d0d005bba07","5588e9689cfea70d00371df3","5588f5921163180d00b64704","561598b121e9110d0078025a","5616f1c9d170d00d00189306","5616f5c3a410c90d00c6121e","561803dcf8c9632100ac7592","563667280441020d0000e9eb","5642570d9417b40d00c0fcd3","57bf5f02efe0050e00d50bd5","57f53fb368a53b2000e03f0f","57f55187440418170086325a","582e3afa72fd270f0006926d","5841faa973967b0f004b4a2b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-02-15T21:14:14.369Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"text","code":""}]},"results":{"codes":[{"name":"","code":"{\n  _id: \"580aa34686e6e2194b25d79e\", // Id of the newly created teams\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"58a4c7d364506619000e78cf","ref":"","in":"body","required":true,"desc":"The name of the new team.","default":"","type":"string","name":"name"},{"_id":"58a4f43f0d456223004efcd3","ref":"","in":"body","required":false,"desc":"Array of members to add to team and send invites.","default":"","type":"array_object","name":"members"},{"_id":"58a4f43f0d456223004efcd2","ref":"","in":"body","required":true,"desc":"The user's email.","default":"","type":"string","name":"members.email"},{"_id":"58a4f43f0d456223004efcd1","ref":"","in":"body","required":false,"desc":"One of ['admin', 'member']","default":"member","type":"string","name":"members.role"}],"url":"/v1/teams"},"isReference":true,"order":70,"body":"","excerpt":"Creates a team.","slug":"teams-coming-soon","type":"post","title":"/teams (coming soon)"}

post/teams (coming soon)

Creates a team.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

name:
required
string
The name of the new team.
members:
array of objects
Array of members to add to team and send invites.
members.email:
required
string
The user's email.
members.role:
stringmember
One of ['admin', 'member']

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 }}