---
title: "PUT /api/v1/AwsAccounts/{id}"
method: PUT
path: "/api/v1/AwsAccounts/{id}"
tags: ["AwsAccounts"]
---

# PUT /api/v1/AwsAccounts/{id}

`PUT /api/v1/AwsAccounts/{id}`

## Path parameters

- `id` integer, required

## Request body

- AwsAccount
  - `id` integer
  - `name` string, nullable
  - `email` string, nullable
  - `publisher` ObjectReference
    - `id` integer
    - `name` string, nullable
  - `externalPublisherCustomerId` string, nullable
  - `reference` string, nullable
  - `customerTenantType` 0 | 1 | 2
  - `entityStatus` 0 | 1
  - `organization` Organization
    - `id` integer
    - `name` string, nullable
    - `parentId` integer
    - `crayonCompanyName` string, nullable
    - `accountNumber` string, nullable
  - `invoiceProfile` ObjectReference
    - `id` integer
    - `name` string, nullable
  - `isActivated` boolean
  - `tags` SubscriptionTags
    - `subscriptionId` integer
    - `costCenter` string, nullable
    - `department` string, nullable
    - `project` string, nullable
    - `custom` string, nullable
    - `owner` string, nullable
    - `createdDate` string, date-time
    - `modifiedDate` string, date-time
  - `payerAccountId` string, nullable
  - `awsAccountName` string, nullable
  - `masterAccountStatus` 0 | 1 | 2 | 3
  - `awsSegment` 0 | 1 | 2

## Response `200`

Success

- AwsAccountExtended
  - `invoiceProfile` ObjectReference
    - `id` integer
    - `name` string, nullable
  - `id` integer
  - `name` string, nullable
  - `email` string, nullable
  - `publisher` ObjectReference
    - `id` integer
    - `name` string, nullable
  - `externalPublisherCustomerId` string, nullable
  - `reference` string, nullable
  - `customerTenantType` 0 | 1 | 2
  - `entityStatus` 0 | 1
  - `organization` Organization
    - `id` integer
    - `name` string, nullable
    - `parentId` integer
    - `crayonCompanyName` string, nullable
    - `accountNumber` string, nullable
  - `isActivated` boolean
  - `tags` SubscriptionTags
    - `subscriptionId` integer
    - `costCenter` string, nullable
    - `department` string, nullable
    - `project` string, nullable
    - `custom` string, nullable
    - `owner` string, nullable
    - `createdDate` string, date-time
    - `modifiedDate` string, date-time
  - `payerAccountId` string, nullable
  - `awsAccountName` string, nullable
  - `masterAccountStatus` 0 | 1 | 2 | 3
  - `awsSegment` 0 | 1 | 2

---

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