---
title: "Associate a user to a workspace"
method: PUT
path: "/workspaces/{workspaceId}/users/{userId}"
tags: ["User"]
---

# Associate a user to a workspace

`PUT /workspaces/{workspaceId}/users/{userId}`

Associates a User with a given Workspace.

## Path parameters

- `workspaceId` string, uuid, required — The unique identifier for a resource.
- `userId` string, uuid, required — The unique identifier for a resource.

## Response `204`

The resource was modified successfully

## Other responses

- `400` — Bad request
- `401` — Access unauthorized
- `403` — Access forbidden
- `404` — Resource not found
- `405` — This method is not allowed
- `429` — Too Many Requests, please try again later.
- `500` — Internal Server Error

---

[API](https://skmtc.net/yousign/apis/public-api-v3.md) · [All operations](https://skmtc.net/yousign/apis/public-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yousign/public-api-v3/revisions/8d258c0b45d6/schema)
