---
title: "Manage identities"
method: POST
path: "/v1/identities"
tags: ["identities"]
---

# Manage identities

`POST /v1/identities`

Add, update, replace, or remove identities in the system.

See [Identities](../identities) for the format of the identities data.

## Request body

- object
  - `action` 'add' | 'update' | 'replace' | 'remove', required — The action to perform on the identities.
  - `identities` object, required — The identities to add, update, or replace. For "remove", set the values to null.

## Response `200`

Successful operation.

- BaseResponse
  - `type` string — Response type, "sync".
  - `status-code` integer — HTTP response status code.
  - `status` string — The description of the HTTP status code. See the [IANA list](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml).

## Changes

- **2025-01-02** `1cb37312be6c` — 1 info
  - endpoint added
- **2024-12-22** `b3903318c3bd` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/canonical/apis/pebble-api/changes/v1/identities/post.md)

---

[API](https://skmtc.dev/canonical/apis/pebble-api.md) · [All operations](https://skmtc.dev/canonical/apis/pebble-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/canonical/pebble-api/revisions/a94f353eccac/schema)
