Security settings are organization-wide configurations that apply to all users in an organization. These settings enforce restrictions on how users authenticate with Scaleway's services.
Get security settings of an Organization
Retrieve information about the security settings of an Organization, specified by the organization_id parameter.
path Parameters
organization_idID of the Organization.
Get security settings of an Organization › Responses
enforce_password_renewalDefines whether password renewal is enforced during first login.
grace_period_durationDuration of the grace period to renew password or enable MFA. (in seconds)
login_attempts_before_lockedNumber of login attempts before the account is locked.
max_login_session_durationMaximum duration a login session will stay active before needing to relogin. (in seconds)
max_api_key_expiration_durationMaximum duration the expires_at field of an API key can represent. A value of 0 means there is no maximum duration. (in seconds)
Update the security settings of an Organization
path Parameters
organization_idID of the Organization.
Update the security settings of an Organization › Request Body
enforce_password_renewalDefines whether password renewal is enforced during first login.
grace_period_durationDuration of the grace period to renew password or enable MFA. (in seconds)
login_attempts_before_lockedNumber of login attempts before the account is locked.
max_login_session_durationMaximum duration a login session will stay active before needing to relogin. (in seconds)
max_api_key_expiration_durationMaximum duration the expires_at field of an API key can represent. A value of 0 means there is no maximum duration. (in seconds)
Update the security settings of an Organization › Responses
enforce_password_renewalDefines whether password renewal is enforced during first login.
grace_period_durationDuration of the grace period to renew password or enable MFA. (in seconds)
login_attempts_before_lockedNumber of login attempts before the account is locked.
max_login_session_durationMaximum duration a login session will stay active before needing to relogin. (in seconds)
max_api_key_expiration_durationMaximum duration the expires_at field of an API key can represent. A value of 0 means there is no maximum duration. (in seconds)