---
title: "PUT /accounts/{accountId}"
method: PUT
path: "/accounts/{accountId}"
tags: ["slash-account"]
---

# PUT /accounts/{accountId}

`PUT /accounts/{accountId}`

## Path parameters

- `accountId` integer, required

## Request body

- AccountDto
  - `tenantId` integer
  - `accountId` integer
  - `accountName` string
  - `primaryContact` ContactLabelDto
    - `contactId` integer
    - `contactName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicName` string
    - `profilePicColor` string
  - `email` string
  - `website` string
  - `phone` ContactProperties
    - `countryCode` string
    - `number` string
    - `countryName` string
  - `profilePicUrl` string
  - `profilePicName` string
  - `profilePicColor` string
  - `address` string
  - `city` string
  - `state` string
  - `country` string
  - `zipCode` string
  - `description` string
  - `createdBy` UserMinimalDto
    - `userId` integer
    - `firstName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicColor` string
    - `provider` string
    - `role` OrgRoleDto
      - `orgRoleId` integer
      - `roleName` string
  - `modifiedBy` UserMinimalDto
    - `userId` integer
    - `firstName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicColor` string
    - `provider` string
    - `role` OrgRoleDto
      - `orgRoleId` integer
      - `roleName` string
  - `createdTime` string, date-time
  - `modifiedTime` string, date-time
  - `contacts` ContactLabelDto[]
    - `contactId` integer
    - `contactName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicName` string
    - `profilePicColor` string
  - `accountTags` AccountTagDto[]
    - `tenantId` integer
    - `accountTagId` integer
    - `tagName` string
    - `color` string
    - `createdBy` UserMinimalDto
      - `userId` integer
      - `firstName` string
      - `email` string
      - `profilePicURL` string
      - `profilePicColor` string
      - `provider` string
      - `role` OrgRoleDto
        - `orgRoleId` integer
        - `roleName` string
    - `modifiedBy` UserMinimalDto
      - `userId` integer
      - `firstName` string
      - `email` string
      - `profilePicURL` string
      - `profilePicColor` string
      - `provider` string
      - `role` OrgRoleDto
        - `orgRoleId` integer
        - `roleName` string
    - `createdTime` string, date-time
    - `modifiedTime` string, date-time
  - `projectCount` integer

## Response `200`

OK

- ResponseFormat
  - `success` boolean
  - `message` string
  - `data` unknown
  - `errorCode` integer
  - `errors` unknown

---

[API](https://skmtc.net/astravue/apis/astravue-api.md) · [All operations](https://skmtc.net/astravue/apis/astravue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astravue/astravue-api/versions/237f5bbd4029/schema)
