Workspace and team
Get the sign-in rules
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:read ability
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
allowed_sign_in_methodsstring[] | nullrequiredThe ways of signing in the workspace accepts, such as password, magic_link, google or sso. Empty means every way is accepted.
api_ip_allowlistobject[] | nullrequiredAddress ranges access tokens may call the API from. Empty means from anywhere.
Show child attributesHide child attributes
cidrstringrequiredAn address range in CIDR form, or a single IP address, such as 203.0.113.0/24.
labelstringrequiredWhat the workspace calls this range, such as Office.
available_sign_in_methodsstring[] | nullrequiredThe ways of signing in this install offers, such as password, magic_link, google or sso. allowed_sign_in_methods must be picked from these.
dashboard_ip_allowlistobject[] | nullrequiredAddress ranges browsers and apps may use the dashboard from. Empty means from anywhere.
Show child attributesHide child attributes
cidrstringrequiredAn address range in CIDR form, or a single IP address, such as 203.0.113.0/24.
labelstringrequiredWhat the workspace calls this range, such as Office.
google_allowed_domainsstring[] | nullrequiredGoogle hosted domains a Google sign-in may come from, such as example.com. Empty means any.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
require_two_factorbooleanrequiredWhether members must use two-factor authentication to use the workspace.
session_idle_timeout_minutesinteger | nullrequiredMinutes a session may sit unused before it ends, from 15 to 20160. Null means no limit.
Format: int64
session_max_age_minutesinteger | nullrequiredMinutes a session may last in total before signing in again, from 60 to 43200. Null means no limit.
Format: int64
sso_enforcedbooleanrequiredTrue when the organization enforces a single sign-on connection for this workspace.
tokens_outsideintegerrequiredHow many live tokens were last used from an address outside api_ip_allowlist, so the list would stop them. 0 when the list is empty.
Format: int64
your_ipstringrequiredThe IP address the caller is seen at, such as 203.0.113.7. Empty when it is not known.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.