insertorganization
description
Creates a Buzzy Organization
parameters
The X-Auth-Token and X-User-Id are derived from the values authToken and userId returned from the login endpoint and are used in the HTTP header.
{
"organizationInfo":{
"_id": "<optional unique identified, will be autogenerated>",
"name": "<name of organizations - must be unique>",
"description":"<optional description>"
},
adminID: "optional userID, that will become the admin of the organization,
if ot supplied will be the user making the request"
}
response
Returns the status of the request including the ID for the new organization.
example
You should get back:
Last updated