Organizations

Create default organization

Changed on

Create a "Personal" organization for the user if they have none (e.g. on their first visit, or after being removed from their only one) and return it. Returns their first organization if they have one

post/api/v1/organizations/default

Request

  • Base URL
    https://app.easyscraper.com
  • URL
    https://app.easyscraper.com/api/v1/organizations/default
  • Auth
    API key in cookie better-auth.session_token

Response

OK

idstring uuid required
namestring required
slugstring required
logostring nullable required
metadatastring nullable required
requireTwoFactorboolean required
allowedEmailDomainsstring[] required
createdAtstring date-time required
updatedAtstring date-time required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status