---
title: "Update the user information associated with a space"
method: POST
path: "/spaces/{id}/updateUsers"
tags: ["spaces"]
---

# Update the user information associated with a space

`POST /spaces/{id}/updateUsers`

Spaces are groupings of collections and datasets.

## Path parameters

- `id` string, required

## Request body

- object
  - `rolesandusers` object — A map that contains a role level as a key and a comma separated String of user IDs as the value

## Response `200`

OK

## Other responses

- `400` — rolesandusers data is missing from the updateUsers call.
- `404` — The requested resource was not found

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/versions/bcd187478e0d/schema)
