---
title: "Add the security role for an employee"
method: POST
path: "/v1/employees/{employee_id}/security_roles"
---

# Add the security role for an employee

`POST /v1/employees/{employee_id}/security_roles`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/employees/{employee_id}/security_roles`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/employees/:employee_id/security_roles/post.ts> (a function with typed inputs; its response is checked against the schema)

The purpose of this API is to add a security role for an employee through the **Roles** tab of the **Manage Employees** page.

## Path parameters

- `employee_id` string, required

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
