---
title: "Updates the permissions of a specific user role."
method: PUT
path: "/accessmanagement/userroles/{userRoleId}/permissions"
tags: ["accessmanagement - user roles"]
---

# Updates the permissions of a specific user role.

`PUT /accessmanagement/userroles/{userRoleId}/permissions`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/accessmanagement/userroles/{userRoleId}/permissions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/accessmanagement/userroles/:userRoleId/permissions/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint updates a specific user role’s permissions, ensuring precise and efficient access control.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `204` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive error handling:** Returns `400` and `404` error codes with clear descriptions when requests fail.</br>- **Reliable permission updates:** Facilitates the modification of user role permissions, ensuring accurate and up-to-date information across the system.</br>- **Targeted data update:** Leverages the `userRoleId` parameter in the URL path to update the specified user role's permissions, ensuring accurate and focused modifications.

## Path parameters

- `userRoleId` integer, required

## Request body

- UpdateUserRolePermissionRequestInner[]
  - `id` number
  - `status` 'ALLOW' | 'DENY' | 'IMPLICIT_DENY'

## Response `204`

Permissions updated successfully.

## Other responses

- `400`: Request is malformed or invalid.
- `404`: Resource not found.

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
