---
title: "Change (or, for an OAuth-only account, set the first) password"
method: POST
path: "/api/me/password"
tags: ["Me"]
---

# Change (or, for an OAuth-only account, set the first) password

`POST /api/me/password`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/me/password`
- Auth: API key in cookie `hiveship_access`

Revokes every other active session — a fresh cookie pair is issued on this response so the calling device stays signed in.

## Response `200`

Password changed; this device stays signed in

## Other responses

- `400`: Validation error, or currentPassword missing/unexpected
- `401`: currentPassword is incorrect

---

[API](https://skmtc.dev/hiveship/apis/hiveship-api.md) · [All operations](https://skmtc.dev/hiveship/apis/hiveship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hiveship/apis/hiveship-api/revisions/73d3e26544e4?raw)
