Organizations

Create organization

Changed on
post/api/v2/organizations

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/organizations
  • Auth
    API key in header Coder-Session-Token

Request body

descriptionstring
display_namestring

DisplayName will default to the same value as Name if not provided.

iconstring
namestring required

Response

Created

created_atstring date-time required
default_org_member_rolesstring[]

DefaultOrgMemberRoles are unioned into every member's effective roles at request time. Changes propagate to all members on the next request.

descriptionstring
display_namestring
iconstring
idstring uuid required
is_defaultboolean required
namestring
updated_atstring date-time required

Changes