---
title: "Changes to Set state machine as default"
method: PATCH
path: "/api/v1/state-machines/{id}/default"
---

# Changes to Set state machine as default

`PATCH /api/v1/state-machines/{id}/default`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 9 revisions.

- **2026-07-07** `a3b4750a505f` — 10 info
- **2026-07-07** `84194c31ab85` — 1 info

## Changes

- **2026-07-07** `a3b4750a505f` — 10 info
  - added the required property `active` to the response with the `200` status
  - added the required property `code` to the response with the `200` status
  - added the required property `created_at` to the response with the `200` status
  - added the required property `entity_type` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `is_default` to the response with the `200` status
  - added the required property `name` to the response with the `200` status
  - added the required property `transitions` to the response with the `200` status
  - added the required property `updated_at` to the response with the `200` status
  - added the required property `version` to the response with the `200` status
- **2026-07-07** `84194c31ab85` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kruzer-corp/apis/oms-api/docs/api/v1/state-machines/:id/default/patch.md) · [API](https://skmtc.dev/kruzer-corp/apis/oms-api.md) · [Page](https://skmtc.dev/kruzer-corp/apis/oms-api/changes/api/v1/state-machines/:id/default/patch)
