---
title: "Update Account"
method: PUT
path: "/setup/account/{accountId}"
tags: ["Accounts"]
---

# Update Account

`PUT /setup/account/{accountId}`

Update information in an account such as the account name and slack channel. To use this command, permissions for organization admin are required. Granular permissions will require access policies with the following actions: setup:updateAccount

## Path parameters

- `accountId` string, required

## Request body

- object
  - `account` object, required — Used for updating items in an account.
    - `slackNotificationChannels` string[] — List of strings containing the URLs of the slack channels to be added.
    - `name` string — The new name of the account. Cannot be null or empty.

## Response `200`

Update Account Response

- object
  - `request` object — Original request properties
    - `id` string — Unique ID associated with this request
    - `url` string — The URL that was used for the request
    - `method` string — The HTTP **METHOD** used for the request
    - `timestamp` string — When the request was received by Spot
  - `response` object — Response package that includes, status, type and any relevant data.
    - `status` object
      - `code` integer — HTTP status code assigned to this response
      - `message` string — HTTP status message for the respective status code

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
