Contract Testing: Admin Update Role
contract-testing_admin_update_roleUpdate an existing role's name, description, and permissions by role UUID to keep admin access aligned with current responsibilities.
Instructions
Update an existing role's name and permissions (admin).
Toolset: Admin
Parameters:
roleId (string) required: UUID of the role to update
name (string) required: Name of the role
permissions (array) required: Permissions granted by this role
description (string): Description of the role
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the role | |
| roleId | Yes | UUID of the role to update | |
| description | No | Description of the role | |
| permissions | Yes | Permissions granted by this role |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| uuid | No | ||
| _links | No | ||
| created | No | ||
| _actions | No | ||
| createdAt | No | ||
| updatedAt | No | ||
| description | No | ||
| permissions | No | ||
| systemDefined | No |