---
title: "Update account"
method: PUT
path: "/settings/1/accounts/{accountKey}"
tags: ["platform", "account-management", "accounts"]
---

# Update account

`PUT /settings/1/accounts/{accountKey}`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/settings/1/accounts/{accountKey}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

This method allows you to update account. You can only update sub accounts

## Path parameters

- `accountKey` string, required

## Request body

- Bb8af9c2d2d4d677e25555100e31662e23d86ede8b5d73bbf4974b4decdd08d7UpdateAccountRequest
  - `name` string: New name for the account
  - `enabled` boolean: Enable or disable the account

## Response `200`

OK

- Bb8af9c2d2d4d677e25555100e31662e23d86ede8b5d73bbf4974b4decdd08d7Account
  - `key` string
  - `ownerKey` string
  - `name` string
  - `enabled` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
