---
title: "Update a content area."
method: PUT
path: "/Ams/{ClientID}/ContentAreas"
tags: ["Ams"]
---

# Update a content area.

`PUT /Ams/{ClientID}/ContentAreas`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ams/{ClientID}/ContentAreas`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ams/:ClientID/ContentAreas/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a content area.

## Path parameters

- `ClientID` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `AreaType` string
  - `VersionID` integer
  - `Revert` boolean
  - `VersionLabel` string
  - `VersionNotes` string
  - `Publish` boolean
  - `ContentArea` string
  - `MemberID` integer
  - `ResponseStatus` string
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

## Response `200`

Success

- ContentAreasResponse: ContentAreasResponse
  - `AreaType` string
  - `VersionID` integer
  - `Revert` boolean
  - `VersionLabel` string
  - `VersionNotes` string
  - `Publish` boolean
  - `ContentArea` ContentArea: ContentArea
    - `TitleDefault` string
    - `Title` string
    - `Body` string
    - `AutoFormatted` integer
    - `AllowSponsorRotatorWidget` boolean
    - `ContentType` integer
    - `RotatorId` integer
    - `AreaStatus` integer
    - `VersionID` integer
    - `ModifiedAt` string, date-time
    - `ModifiedByLastName` string
    - `ModifiedByFirstName` string
    - `MessageType` string
    - `MessageLocation` string
    - `MessageTypeID` string
  - `MemberID` integer
  - `ClientID` integer
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
