Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

Conch::Route::Organization

SOURCE

https://github.com/joyent/conch-api/blob/master/lib/Conch/Route/Organization.pm

METHODS

routes

Sets up the routes for /organization.

ROUTE ENDPOINTS

All routes require authentication.

GET /organization

POST /organization

GET /organization/:organization_id_or_name

POST /organization/:organization_id_or_name

DELETE /organization/:organization_id_or_name

POST /organization/:organization_id_or_name/user?send_mail=<1|0>

Takes one optional query parameter send_mail=<1|0> (defaults to 1) to send an email to the user.

DELETE /organization/:organization_id_or_name/user/#target_user_id_or_email?send_mail=<1|0>

Takes one optional query parameter send_mail=<1|0> (defaults to 1) to send an email to the user.

LICENSING

Copyright Joyent, Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.