Skip to content

Organization

List the organizations the authenticated user belongs to

Section titled “List the organizations the authenticated user belongs to”

GET /api/v1/organizations

Authentication: BearerAuth.

StatusDescriptionBody
200OKarray of MemberOrganization
401UnauthorizedErrorResponse
500Internal Server ErrorErrorResponse

Create an organization owned by the authenticated user

Section titled “Create an organization owned by the authenticated user”

POST /api/v1/organizations

Authentication: BearerAuth.

application/json, required: CreateOrganizationRequest

Organization

FieldTypeRequiredDescription
namestringYesAt most 100 characters.
StatusDescriptionBody
201CreatedMemberOrganization
400Bad RequestErrorResponse
401UnauthorizedErrorResponse
403ForbiddenErrorResponse
500Internal Server ErrorErrorResponse

Get an organization the authenticated user belongs to

Section titled “Get an organization the authenticated user belongs to”

GET /api/v1/organizations/{org_id}

Authentication: BearerAuth.

NameInTypeRequiredDescription
org_idpathstringYesOrganization ID
StatusDescriptionBody
200OKMemberOrganization
401UnauthorizedErrorResponse
404Not FoundErrorResponse
500Internal Server ErrorErrorResponse

List the members of an organization the authenticated user belongs to

Section titled “List the members of an organization the authenticated user belongs to”

GET /api/v1/organizations/{org_id}/members

Authentication: BearerAuth.

NameInTypeRequiredDescription
org_idpathstringYesOrganization ID
StatusDescriptionBody
200OKarray of OrganizationMember
401UnauthorizedErrorResponse
404Not FoundErrorResponse
500Internal Server ErrorErrorResponse

Part of Crewlet. Generated from the OpenAPI document of the API, version 0.1.0.