Manages the mappings between users and the organisations they belong to: listing a user's memberships, listing the members of an organisation, and updating or removing a mapping. See the User API and Organization API for the records these mappings connect.
Endpoints
POST /
- Auth:
requireWebAuth - Controller:
UserOrganizationController.listMappingsForUser - Response:
401: keysUnauthorized,message,200: keysmessage,500: keysmessage
GET /org/mapping/:organisationId
- Auth:
requireWebAuth - Params:
organisationId - Controller:
UserOrganizationController.listByOrganisationId - Response:
400: keysmessage,200: keysmessage,500: keysmessage
GET /:id
- Params:
id - Controller:
UserOrganizationController.listMappings - Response:
200: JSON,500: keysmessage
DELETE /:id
- Params:
id - Controller:
UserOrganizationController.updateMappingById - Response:
400: keysmessage,404: keysmessage,200: keysmessage,500: keysmessage