> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Create a custom role

POST`/workspace/{orgId}/product-roles`

A custom role with a name, an optional description and permissions from the catalog. Needs Manage teammates, and may grant only permissions the caller holds. Up to 50 per workspace.

## Path Parameters

`orgId`

numberrequired

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/workspace/{orgId}/product-roles'
```

**JavaScript**

```javascript
const options = {
  method: 'POST'
};

fetch('https://api.workover.io/workspace/{orgId}/product-roles', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/product-roles"

response = requests.post(url)

print(response.text)
```
