---
title: "Changes to POST /users/{user_id}/roles"
method: POST
path: "/users/{user_id}/roles"
---

# Changes to POST /users/{user_id}/roles

`POST /users/{user_id}/roles`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 383 revisions.

- **2026-11-26** `e1864d950604`: 5 breaking
- **2026-11-26** `199b8052eb32`: 4 info
- **2026-07-27** `1b060c0a4ba3`: 2 info

## Changes

- **2026-11-26** `e1864d950604`: 5 breaking
  - the `roles/items/created_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
  - the `roles/items/updated_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
  - the `user/created_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
  - the `user/deleted_at` response's property type changed from `integer, null` to `string, null`, and format from `int64` to `date-time` for status `200`
  - the `user/updated_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
- **2026-11-26** `199b8052eb32`: 4 info
  - the request property `user_id` became nullable
  - the request property `user_id` became optional
  - request property `user_id` deprecated
  - added the media type `application/json` for the response with the status `200`
- **2026-07-27** `1b060c0a4ba3`: 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/users/:user_id/roles/post.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/users/:user_id/roles/post)
