---
title: "Changes to Toggle pin"
method: POST
path: "/api/v1/user/segments/{id}/pin"
---

# Changes to Toggle pin

`POST /api/v1/user/segments/{id}/pin`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-07-26** `996f96a11758` — 1 breaking, 1 warning, 5 info

## Changes

- **2026-07-26** `996f96a11758` — 1 breaking, 1 warning, 5 info
  - added the new required `header` request parameter `X-CSRF-Token`
  - for the `path` request parameter `id`, the min was set to `1.00`
  - api operation id `postUserSegmentsByIdPin` was added
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`

---

[Operation](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/docs/api/v1/user/segments/:id/pin/post.md) · [API](https://skmtc.dev/openmercantil/apis/openmercantil-public-api.md) · [Page](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/changes/api/v1/user/segments/:id/pin/post)
