---
title: Lister tous les utilisateurs
slug: lister-tous-les-utilisateurs
docTags: 
createdAt: 2026-06-04T15:50:56.155Z
---

{
  "id": "dSYH7ZaLC_Ogj9qy9fI1l",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.ionos.com/cloudapi/v6/um/users",
    "servers": [
      {
        "url": "https://api.ionos.com/cloudapi/v6/um/users"
      }
    ],
    "name": "List all users",
    "description": "List all the users in your account.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        },
        {
          "kind": "optional",
          "name": "X-Contract-Number",
          "type": "integer<int32>",
          "description": "<p>Users with multiple contracts must provide the contract number, for which all API requests are to be executed.</p>",
          "format": "int32"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "pretty",
          "type": "boolean",
          "description": "<p>Controls whether the response is pretty-printed (with indentations and new lines).</p>",
          "default": true
        },
        {
          "kind": "optional",
          "name": "depth",
          "type": "integer<int32>",
          "description": "<p>Controls the detail depth of the response objects. NOTE: The resource /um and its children support a maximum depth level of 1. It will provide you the entry points to specific user related resources. As these resources are partially servered by other service components, they must be retrieved explicitly. Any depth parameter beyond '?depth=1' will be deprecated by April 30, 2026.</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0,
          "maximum": 1
        },
        {
          "kind": "optional",
          "name": "offset",
          "type": "integer<int32>",
          "description": "<p>The first element (from the complete list of the elements) to include in the response (used together with limit for pagination).</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0
        },
        {
          "kind": "optional",
          "name": "limit",
          "type": "integer<int32>",
          "description": "<p>The maximum number of elements to return (use together with offset for pagination).</p>",
          "default": 100,
          "format": "int32",
          "minimum": 1,
          "maximum": 100
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "BasicAuthentication",
          "name": "BasicAuthentication",
          "kind": "optional",
          "type": "http",
          "description": "<p>You will need to base64 encode the string containing your credentials. \nNote:\n\n</p>",
          "scheme": "basic"
        },
        {
          "id": "TokenAuthentication",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>Please provide header value as 'Bearer ' and don't forget to add 'Bearer' HTTP Authorization Scheme before the token.</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "headers": [
          {
            "kind": "optional",
            "name": "X-RateLimit-Remaining",
            "type": "integer<int32>",
            "description": "The number of requests that can still be made without triggering a failure response.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Limit",
            "type": "integer<int32>",
            "description": "The average number of requests per minute allowed.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Burst",
            "type": "integer<int32>",
            "description": "The maximum number of concurrent API requests allowed.",
            "format": "int32"
          }
        ],
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Users",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "string",
                "readOnly": true,
                "description": "The resource's unique identifier.",
                "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
              },
              {
                "name": "type",
                "kind": "optional",
                "type": "object",
                "description": "",
                "complexType": "allOf",
                "complexItems": [
                  {
                    "name": "Type",
                    "description": "",
                    "modelRef": "#/components/schemas/Type",
                    "schema": []
                  }
                ],
                "schema": []
              },
              {
                "name": "href",
                "kind": "optional",
                "type": "string<uri>",
                "readOnly": true,
                "description": "<p>URL to the object representation (absolute path).</p>",
                "example": "<RESOURCE-URI>",
                "format": "uri"
              },
              {
                "name": "items",
                "kind": "optional",
                "type": "array",
                "readOnly": true,
                "description": "Array of items in the collection.",
                "modelRef": "#/components/schemas/User",
                "customType": "User[]",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "The resource's unique identifier.",
                    "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "Type",
                        "description": "",
                        "modelRef": "#/components/schemas/Type",
                        "schema": []
                      }
                    ],
                    "schema": []
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL to the object representation (absolute path).</p>",
                    "example": "<RESOURCE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "metadata",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/UserMetadata",
                    "customType": "UserMetadata",
                    "schema": [
                      {
                        "name": "etag",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                        "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                      },
                      {
                        "name": "createdDate",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The time the user was created.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      },
                      {
                        "name": "createdBy",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The user who has created the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "createdByUserId",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The unique ID of the user who created the resource.",
                        "example": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
                      },
                      {
                        "name": "lastModifiedDate",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The last time the resource was modified.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      },
                      {
                        "name": "lastModifiedBy",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The user who last modified the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "lastModifiedByUserId",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The unique ID of the user who last modified the resource.",
                        "example": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
                      },
                      {
                        "name": "lastLogin",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The time of the last login by the user.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      }
                    ]
                  },
                  {
                    "name": "properties",
                    "kind": "required",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/UserProperties",
                    "customType": "UserProperties",
                    "schema": [
                      {
                        "name": "firstname",
                        "kind": "optional",
                        "type": "string",
                        "description": "The first name of the user."
                      },
                      {
                        "name": "lastname",
                        "kind": "optional",
                        "type": "string",
                        "description": "The last name of the user."
                      },
                      {
                        "name": "email",
                        "kind": "optional",
                        "type": "string",
                        "description": "The email address of the user."
                      },
                      {
                        "name": "administrator",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if the user has admin rights."
                      },
                      {
                        "name": "forceSecAuth",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if secure authentication should be forced on the user."
                      },
                      {
                        "name": "secAuthActive",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if secure authentication is active for the user."
                      },
                      {
                        "name": "s3CanonicalUserId",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>Canonical (Object storage) ID of the user for a given identity.</p>"
                      },
                      {
                        "name": "active",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if the user is active."
                      }
                    ]
                  },
                  {
                    "name": "entities",
                    "kind": "optional",
                    "type": "object",
                    "description": "Collection of entity references associated with a user.",
                    "modelRef": "#/components/schemas/UsersEntities",
                    "customType": "UsersEntities",
                    "schema": [
                      {
                        "name": "owns",
                        "kind": "optional",
                        "type": "object",
                        "description": "<p>Reference to resources owned by a user (without nested items).</p>",
                        "modelRef": "#/components/schemas/ResourcesUsersRef",
                        "customType": "ResourcesUsersRef",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "The resource's unique identifier.",
                            "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c/owns"
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "complexType": "allOf",
                            "complexItems": [
                              {
                                "name": "Type",
                                "description": "",
                                "modelRef": "#/components/schemas/Type",
                                "schema": []
                              }
                            ],
                            "schema": []
                          },
                          {
                            "name": "href",
                            "kind": "optional",
                            "type": "string<uri>",
                            "readOnly": true,
                            "description": "<p>URL to the object representation (absolute path).</p>",
                            "example": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
                            "format": "uri"
                          }
                        ]
                      },
                      {
                        "name": "groups",
                        "kind": "optional",
                        "type": "object",
                        "description": "<p>Reference to groups a user belongs to (without nested items).</p>",
                        "modelRef": "#/components/schemas/GroupUsersRef",
                        "customType": "GroupUsersRef",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "The resource's unique identifier.",
                            "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c/groups"
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "complexType": "allOf",
                            "complexItems": [
                              {
                                "name": "Type",
                                "description": "",
                                "modelRef": "#/components/schemas/Type",
                                "schema": []
                              }
                            ],
                            "schema": []
                          },
                          {
                            "name": "href",
                            "kind": "optional",
                            "type": "string<uri>",
                            "readOnly": true,
                            "description": "<p>URL to the object representation (absolute path).</p>",
                            "example": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups",
                            "format": "uri"
                          }
                        ]
                      },
                      {
                        "name": "s3Keys",
                        "kind": "optional",
                        "type": "object",
                        "description": "<p>Reference to S3 keys associated with a user (without nested items).</p>",
                        "modelRef": "#/components/schemas/S3KeysRef",
                        "customType": "S3KeysRef",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "The resource's unique identifier.",
                            "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c/s3keys"
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "complexType": "allOf",
                            "complexItems": [
                              {
                                "name": "Type",
                                "description": "",
                                "modelRef": "#/components/schemas/Type",
                                "schema": []
                              }
                            ],
                            "schema": []
                          },
                          {
                            "name": "href",
                            "kind": "optional",
                            "type": "string<uri>",
                            "readOnly": true,
                            "description": "<p>URL to the object representation (absolute path).</p>",
                            "example": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/s3keys",
                            "format": "uri"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "name": "offset",
                "kind": "optional",
                "type": "number",
                "description": "<p>The offset (if specified in the request).</p>",
                "modelRef": "#/components/schemas/PaginationOffsetOptional",
                "customType": "PaginationOffsetOptional",
                "schema": []
              },
              {
                "name": "limit",
                "kind": "optional",
                "type": "number",
                "description": "<p>The limit (if specified in the request).</p>",
                "example": 1000,
                "modelRef": "#/components/schemas/PaginationLimitOptional",
                "customType": "PaginationLimitOptional",
                "schema": []
              },
              {
                "name": "_links",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/PaginationLinks",
                "customType": "PaginationLinks",
                "schema": [
                  {
                    "name": "prev",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.</p>",
                    "example": "<PREVIOUS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "self",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the current page.</p>",
                    "example": "<THIS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "next",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.</p>",
                    "example": "<NEXT-PAGE-URI>",
                    "format": "uri"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/Users",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "default",
        "description": "<p>Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Error",
            "schema": [
              {
                "name": "httpStatus",
                "kind": "optional",
                "type": "integer<int32>",
                "readOnly": true,
                "description": "HTTP status code of the operation.",
                "example": 400,
                "format": "int32"
              },
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ErrorMessage",
                "customType": "ErrorMessage[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "Application internal error code.",
                    "example": "123"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "<p>A human-readable message.</p>",
                    "example": "Error message example."
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "ugGKeYXle1lYDNAFXOFbr",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://api.ionos.com/cloudapi/v6/um/users?pretty=true&depth=integer%3Cint32%3E&offset=integer%3Cint32%3E&limit=100' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "bwBV83HUB7hlB8Ff4qrGw",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.ionos.com/cloudapi/v6/um/users?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=100\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "XrFnL_0jG8XYwa9-_E8FU",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.ionos.com/cloudapi/v6/um/users?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=100\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "zuK2xbY-r6D6zLSpAT3g2",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.ionos.com/cloudapi/v6/um/users?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=100\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "ugGKeYXle1lYDNAFXOFbr"
    },
    "results": {
      "languages": [
        {
          "id": "TQKC3xCN8-0kMHUQPde6k",
          "language": "200",
          "code": "// Successful operation\n{\n  \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n  \"type\": {},\n  \"href\": \"<RESOURCE-URI>\",\n  \"items\": [\n    {\n      \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n      \"type\": {},\n      \"href\": \"<RESOURCE-URI>\",\n      \"metadata\": {\n        \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n        \"createdDate\": \"2015-12-04T14:34:09.809Z\",\n        \"createdBy\": \"user@example.com\",\n        \"createdByUserId\": \"63cef532-26fe-4a64-a4e0-de7c8a506c90\",\n        \"lastModifiedDate\": \"2015-12-04T14:34:09.809Z\",\n        \"lastModifiedBy\": \"user@example.com\",\n        \"lastModifiedByUserId\": \"63cef532-26fe-4a64-a4e0-de7c8a506c90\",\n        \"lastLogin\": \"2015-12-04T14:34:09.809Z\"\n      },\n      \"properties\": {\n        \"firstname\": \"\",\n        \"lastname\": \"\",\n        \"email\": \"\",\n        \"administrator\": false,\n        \"forceSecAuth\": false,\n        \"secAuthActive\": false,\n        \"s3CanonicalUserId\": \"\",\n        \"active\": false\n      },\n      \"entities\": {\n        \"owns\": {\n          \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c/owns\",\n          \"type\": {},\n          \"href\": \"https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns\"\n        },\n        \"groups\": {\n          \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c/groups\",\n          \"type\": {},\n          \"href\": \"https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups\"\n        },\n        \"s3Keys\": {\n          \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c/s3keys\",\n          \"type\": {},\n          \"href\": \"https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/s3keys\"\n        }\n      }\n    }\n  ],\n  \"offset\": 0,\n  \"limit\": 1000,\n  \"_links\": {\n    \"prev\": \"<PREVIOUS-PAGE-URI>\",\n    \"self\": \"<THIS-PAGE-URI>\",\n    \"next\": \"<NEXT-PAGE-URI>\"\n  }\n}"
        },
        {
          "id": "DWFzR52imwikIP-JZ4rZ-",
          "language": "default",
          "code": "// Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).\n{\n  \"httpStatus\": 400,\n  \"messages\": [\n    {\n      \"errorCode\": \"123\",\n      \"message\": \"Error message example.\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "TQKC3xCN8-0kMHUQPde6k"
    }
  },
  "children": [
    {
      "text": "",
      "id": "NuBPx19OiXhmW9-mn4492"
    }
  ]
}