auth

Update authentication settings

Changed on
put/auth/settings

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/auth/settings
  • Auth: none declared

Request body

allowedEmailDomainsstring[] required
allowedEmailsstring[]
mode'off' | 'allow' | 'deny'
allowSelfServeOrgCreationboolean

Response

Response

mode'off' | 'allow' | 'deny' required
allowSelfServeOrgCreationboolean required
updatedAtnumber required
updatedBystring nullable required

Changes

    • warning

      changed the pattern of the request property / from ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ to ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$