---
title: "POST /rest/update-users"
method: POST
path: "/rest/update-users"
---

# POST /rest/update-users

`POST /rest/update-users`

## Request body

- object
  - `_set` UsersSetInput
    - `id` object
    - `name` string
    - `rocket` string
    - `timestamp` object
    - `twitter` string
  - `where` UsersBoolExp, required
    - `_and` object[]
    - `_not` object
    - `_or` object[]
    - `id` object
    - `name` object
    - `rocket` object
    - `timestamp` object
    - `twitter` object

## Response `200`

- UsersMutationResponse
  - `affected_rows` integer, required
  - `returning` Users[], required
    - `id` object, required
    - `name` string
    - `rocket` string
    - `timestamp` object, required
    - `twitter` string

## Changes

- **2019-10-22** `56b431e70bf6` — 1 info
  - endpoint added
- **2019-01-17** `0ce2fdacbf21` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/spacexland/apis/spacex-rest-api/changes/rest/update-users/post.md)

---

[API](https://skmtc.dev/spacexland/apis/spacex-rest-api.md) · [All operations](https://skmtc.dev/spacexland/apis/spacex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spacexland/spacex-rest-api/revisions/46a3b0b96b33/schema)
