---
title: "Assign user to a permission set"
method: POST
path: "/permissions/v1/permission_set/assign"
tags: ["Users"]
---

# Assign user to a permission set

`POST /permissions/v1/permission_set/assign`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/permissions/v1/permission_set/assign`
- Auth: HTTP bearer

## Request body

- S12PermissionsV1AssignPermissionSetRequest: The request for AssignPermissionSet.
  - `id` string: Optional. The ID of the permission set.
  - `user_ids` string[]: The IDs of the users to assign.
  - `name` string: Optional. The name of the permission set to assign. De-prioritised in favour of id.

## Response `200`

A successful response.

- S12PermissionsV1AssignPermissionSetResponse: The response for AssignPermissionSet.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/safetyculture/apis/safetyculture-api.md) - [All operations](https://skmtc.dev/safetyculture/apis/safetyculture-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safetyculture/apis/safetyculture-api/revisions/eb6bb843bf18?raw)
