---
title: "PATCH /V1.0/Roles"
method: PATCH
path: "/V1.0/Roles"
tags: ["Roles"]
---

# PATCH /V1.0/Roles

`PATCH /V1.0/Roles`

## Headers

- `ApiIntegrationCode` string, required
- `UserName` string, required
- `Secret` string, required
- `ImpersonationResourceId` string

## Request body

- RoleModel
  - `id` integer
  - `description` string
  - `hourlyFactor` number, double
  - `hourlyRate` number, double
  - `isActive` boolean
  - `isExcludedFromNewContracts` boolean
  - `isSystemRole` boolean
  - `name` string
  - `quoteItemDefaultTaxCategoryId` integer
  - `roleType` integer

## Response `200`

OK

- OperationResultModel
  - `itemId` Object

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/autotask/apis/datto-autotask-psa-rest-api.md) · [All operations](https://skmtc.net/autotask/apis/datto-autotask-psa-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/autotask/datto-autotask-psa-rest-api/versions/b5e89df4589e/schema)
