1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. AppGetDefaultOrganizationResponse

AppGetDefaultOrganizationResponse

    GetDefaultOrganizationResponse returns the backend’s opinion of which organization to default to for a given user, if a default organization has not been configured.

    Properties

    • GitHubLogin string required
      Returns the organization name. Can be an empty string, if the user is a member of no organizations
    • Messages array[AppMessage] required
      Messages is a list of messages that should be displayed to the user that contextualize the default org; for example: warning new users if their default org as returned by the service is on an expiring trial and not free tier, with possible recommendations on how to configure their default org locally. Can be possibly empty.
    • severity enum optional
      Severity is the severity of the message.
      Values: warning, error, info
    • message string required
      Message is the message to display to the user.