Scaleway Security Settings API

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.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Identity & Access Management BC-620.20

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /iam/v1alpha1/organizations/{organization_id}/security-settings Get an organization's IAM security settings · Get security settings of an Organization #
Ask an LLM
“What password and MFA rules are enforced for my organization?”
“How many login attempts are allowed before an account is locked?”
Tell an agent
Show the security settings of organization {organization_id}.
Get the IAM password and session settings for {organization_id}.
PATCH /iam/v1alpha1/organizations/{organization_id}/security-settings Update an organization's IAM security settings · Update the security settings of an Organization #
Ask an LLM
“How do I shorten the maximum session duration for my organization?”
“Can I set a grace period for password renewal or MFA?”
Tell an agent
Set the maximum login session duration of organization {organization_id} to {max_login_session_duration} seconds.
Set the password grace period for {organization_id} to {grace_period_duration} seconds.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scaleway:scaleway-security-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scaleway-security-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: IAM Security Settings API
  description: Identity and Access Management (IAM) allows you to share access to the management of your Scaleway resources and Organization settings, in a controlled and secure manner.
  version: v1alpha1
servers:
- url: https://api.scaleway.com
tags:
- name: Security Settings
  description: 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.
paths:
  /iam/v1alpha1/organizations/{organization_id}/security-settings:
    get:
      tags:
      - Security Settings
      operationId: GetOrganizationSecuritySettings
      summary: Get security settings of an Organization
      description: Retrieve information about the security settings of an Organization, specified by the `organization_id` parameter.
      parameters:
      - in: path
        name: organization_id
        description: ID of the Organization.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/scaleway.iam.v1alpha1.OrganizationSecuritySettings'
      security:
      - scaleway: []
      x-codeSamples:
      - lang: cURL
        source: "curl -X GET \\\n  -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\\n  \"https://api.scaleway.com/iam/v1alpha1/organizations/{organization_id}/security-settings\""
      - lang: HTTPie
        source: "http GET \"https://api.scaleway.com/iam/v1alpha1/organizations/{organization_id}/security-settings\" \\\n  X-Auth-Token:$SCW_SECRET_KEY"
    patch:
      tags:
      - Security Settings
      operationId: UpdateOrganizationSecuritySettings
      summary: Update the security settings of an Organization
      parameters:
      - in: path
        name: organization_id
        description: ID of the Organization.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/scaleway.iam.v1alpha1.OrganizationSecuritySettings'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                enforce_password_renewal:
                  type: boolean
                  description: Defines whether password renewal is enforced during first login.
                grace_period_duration:
                  type: string
                  description: Duration of the grace period to renew password or enable MFA. (in seconds)
                  example: 2.5s
                  nullable: true
                login_attempts_before_locked:
                  type: integer
                  description: Number of login attempts before the account is locked.
                  format: uint32
                max_login_session_duration:
                  type: string
                  description: Maximum duration a login session will stay active before needing to relogin. (in seconds)
                  example: 2.5s
                  nullable: true
                max_api_key_expiration_duration:
                  type: string
                  description: Maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration. (in seconds)
                  example: 2.5s
                  nullable: true
              x-properties-order:
              - enforce_password_renewal
              - grace_period_duration
              - login_attempts_before_locked
              - max_login_session_duration
              - max_api_key_expiration_duration
      security:
      - scaleway: []
      x-codeSamples:
      - lang: cURL
        source: "curl -X PATCH \\\n  -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{}' \\\n  \"https://api.scaleway.com/iam/v1alpha1/organizations/{organization_id}/security-settings\""
      - lang: HTTPie
        source: "http PATCH \"https://api.scaleway.com/iam/v1alpha1/organizations/{organization_id}/security-settings\" \\\n  X-Auth-Token:$SCW_SECRET_KEY"
components:
  schemas:
    scaleway.iam.v1alpha1.OrganizationSecuritySettings:
      type: object
      properties:
        enforce_password_renewal:
          type: boolean
          description: Defines whether password renewal is enforced during first login.
        grace_period_duration:
          type: string
          description: Duration of the grace period to renew password or enable MFA. (in seconds)
          example: 2.5s
          nullable: true
        login_attempts_before_locked:
          type: integer
          description: Number of login attempts before the account is locked.
          format: uint32
        max_login_session_duration:
          type: string
          description: Maximum duration a login session will stay active before needing to relogin. (in seconds)
          example: 2.5s
          nullable: true
        max_api_key_expiration_duration:
          type: string
          description: Maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration. (in seconds)
          example: 2.5s
          nullable: true
      x-properties-order:
      - enforce_password_renewal
      - grace_period_duration
      - login_attempts_before_locked
      - max_login_session_duration
      - max_api_key_expiration_duration
  securitySchemes:
    scaleway:
      in: header
      name: X-Auth-Token
      type: apiKey