---
updatedAt: 2026-04-20T19:33:52.000Z
---

# Modify API client settings

Modifies the client settings associated with a specific API client.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Clients",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://{hostname}"
    }
  ],
  "paths": {
    "/config/{app_id}/clients/{client_id}/settings": {
      "put": {
        "operationId": "put-client-settings",
        "summary": "Modify API client settings",
        "description": "Modifies the client settings associated with a specific API client.",
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "site_name": "Documentation Test Site",
                "login_attempts_threshold": "60",
                "login_attempts": "4",
                "recover_code_lifetime": "2400",
                "verification_code_lifetime": "2400"
              },
              "schema": {
                "type": "object",
                "description": "Updates client settings for the specified API client.\n",
                "required": [
                  "site_name",
                  "login_attempts_threshold",
                  "login_attempts",
                  "recover_code_lifetime",
                  "verification_code_lifetime"
                ],
                "properties": {
                  "login_attempts": {
                    "description": "Number of login or password reset attempts a user can make in a given time span (see `login_attempts_threshold`) before being locked out. This feature helps prevent brute-force login attacks.\n",
                    "example": null,
                    "nullable": true,
                    "type": "string"
                  },
                  "login_attempts_threshold": {
                    "description": "the number of seconds the password recover link is valid.\n",
                    "example": null,
                    "nullable": true,
                    "type": "string"
                  },
                  "recover_code_lifetime": {
                    "description": "Sets the duration, in seconds, that the password recover link is valid.\n",
                    "example": null,
                    "nullable": true,
                    "type": "string"
                  },
                  "site_name": {
                    "description": "Specifies the name of the site where a transactional email was sent from.\n",
                    "example": null,
                    "nullable": true,
                    "type": "string"
                  },
                  "verification_code_lifetime": {
                    "description": "Duration, in seconds, that an email verification code is valid.\n",
                    "example": null,
                    "nullable": true,
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients~1%7Bclient_id%7D~1settings/put/requestBody/content/application~1json/example"
                },
                "schema": {
                  "type": "object",
                  "description": "Modifies the client settings for the specified API client. You can only manage client settings. You can't use this endpoint to manage application settings.\n\nYou must specify all the settings for a client in the request body of your API operation. If the referenced setting doesn't exist, it will be added to the client. For example, suppose your API calls specifies that `login_attempts` should equal `7`. If the `login_attempts` setting doesn't exist, it will be created and the value set to `7`. If the setting already exists, then its value will be changed to `7`.\n\nAny settings currently assigned the client but not in the request body are deleted.\n",
                  "properties": {
                    "_global": {
                      "description": "Properties and property values configured at the global (application) scope.\n",
                      "example": null,
                      "nullable": true,
                      "type": "string"
                    }
                  }
                }
              }
            },
            "description": "Successful response\n"
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients/post/responses/400/content/application~1json/example"
                },
                "schema": {
                  "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients/post/responses/400/content/application~1json/schema"
                }
              }
            },
            "description": "Not valid.\n"
          },
          "401": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients/get/responses/401/content/application~1json/example"
                },
                "schema": {
                  "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients/get/responses/401/content/application~1json/schema"
                }
              }
            },
            "description": "Not authorized.\n"
          },
          "404": {
            "content": {
              "application/json": {
                "example": {
                  "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients/get/responses/404/content/application~1json/example"
                },
                "schema": {
                  "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients/get/responses/404/content/application~1json/schema"
                }
              }
            },
            "description": "Not found.\n"
          }
        }
      },
      "parameters": [
        {
          "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients/parameters/0"
        },
        {
          "$ref": "#/paths/~1config~1%7Bapp_id%7D~1clients~1%7Bclient_id%7D/parameters/0"
        }
      ]
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "externalDocs": {
    "url": "https://techdocs.akamai.com/identity-cloud-config/reference",
    "description": "See documention for Akamai's Identity Cloud: Configuration API\n"
  }
}
```

# Sibling pages

* [View API client settings](https://techdocs.akamai.com/identity-cloud-config/reference/get-client-settings.md)