---
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

- Base URL: `https://stalela-platform.vercel.app`
- URL: `https://stalela-platform.vercel.app/api/cis/v1/identities/{id}/addresses/{addressId}`
- Auth: HTTP bearer and API key in header `x-tenant-id`

## Path parameters

- `id` string, uuid, required
- `addressId` string, uuid, required

## Headers

- `x-tenant-id` string, required

## 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.dev/stalela/apis/stalela-cis-customer-identity-service-api.md) - [All operations](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api/revisions/3065faad0b6b?raw)
