Skip to main content
GET
Read the sign-in requirement
Takes a managing key (oc_key_...) or a signed-in session. See Editions for what OneCLI Cloud adds. Whether members must sign in through the provider, and whether they may be made to.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Response

The requirement.

canRequire
boolean
required

Both of the above: the requirement may be turned on.

exemptMemberCount
integer
required

Members who may still sign in another way.

hasActiveConnection
boolean
required
hasVerifiedDomain
boolean
required
required
boolean
required

Members must sign in through the organization's provider.