---
title: "Update an address"
method: PUT
path: "/api/cis/v1/identities/{id}/addresses/{addressId}"
tags: ["Addresses"]
---

# Update an address

`PUT /api/cis/v1/identities/{id}/addresses/{addressId}`

## Request body

- UpdateAddressRequest
  - `type` 'PRIMARY' | 'SECONDARY' | 'BILLING' | 'SHIPPING'
  - `street1` string
  - `street2` string
  - `city` string
  - `state` string
  - `postalCode` string
  - `country` string

## Response `200`

Address updated

- Address
  - `id` string, uuid
  - `identityId` string, uuid
  - `type` 'PRIMARY' | 'SECONDARY' | 'BILLING' | 'SHIPPING'
  - `street1` string
  - `street2` string, nullable
  - `city` string
  - `state` string, nullable
  - `postalCode` string, nullable
  - `country` string — ISO 3166-1 alpha-2
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/stalela/apis/stalela-cis-customer-identity-service-api.md) · [All operations](https://skmtc.net/stalela/apis/stalela-cis-customer-identity-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stalela/stalela-cis-customer-identity-service-api/revisions/3065faad0b6b/schema)
