---
title: "Update role"
method: PATCH
path: "/api/v1/roles/{id}"
---

# Update role

`PATCH /api/v1/roles/{id}`

## Request

- Base URL: `https://workix.co`
- URL: `https://workix.co/api/v1/roles/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- RoleInput
  - `startupId` string, required
  - `slug` string
  - `title` string, required
  - `description` string
  - `status` 'draft' | 'pending'
  - `apply_url` string
  - `apply_email` string
  - `apply_telegram` string
  - `tags` string[]

## Response `200`

Updated

---

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