v1

latestOpenAPI 3.0.1Gremlin License2026-08-06397451577.0 KB
companies

Updates the authentication preferences associated with this Company.

Requires the privilege COMPANY_SECURITY_WRITE

post/companies/{identifier}/auth/prefs

Path parameters

identifierstring required

Request body

allowSessionRenewalboolean

If user sessions are allowed to be renewed. When set to false, users must login after their session expires. Default is true

sessionDurationinteger

If user session duration should be configured (in minutes). Default and max is 720, min is 5. If AllowSessionRenewal is set, this field is ignored

passwordEnabledboolean

If password logins should be enabled

mfaRequiredboolean

If MFA should be required for password logins

googleEnabledboolean

If logins via Google should be enabled

oauthEnabledboolean

If logins via OAuth should be enabled

samlEnabledboolean

If logins via SAML should be enabled

claimsRequiredboolean

If SAML Claims should be required when logging in via SAML

apiKeysEnabledboolean

If API keys should be enabled

apiKeysMaxSecondsToExpireEnabledboolean

If API keys have a maximum lifespan

apiKeysMaxSecondsToExpireinteger

The maximum number of seconds an API key can be valid for

samlAliasesEnabledboolean

If SAML Claims Aliases should be enabled

samlForcedboolean

If logins via SAML should be required

Response

default response