Org endpoints
Org object prototype:
Sample org object:
#
Create orgPOST /api/v0/user
This action can be performed when authenticated as any user. Any user who creates an org will be automatically added as a member and administrator of that org.
#
Read orgGET /api/v0/user/user-id
This action can be performed without authentication. Some attributes will be left out if authentication is not provided, or if the authenticated user doesn't have permission to view those attributes.
#
Update orgPUT /api/v0/user/user-id
This action can only be performed when authenticated as an administrator or an admin of the org in question.
#
Delete orgDELETE /api/v0/user/user-id
This action can only be performed when authenticated as an administrator.