Contract Testing: Admin Set User Roles
contract-testing_admin_set_user_rolesReplace all roles assigned to a user by providing their user ID and the new role UUIDs. Admin tool for managing user permissions in SmartBear testing tools.
Instructions
Replace all roles assigned to a user (admin).
Toolset: Admin
Parameters:
userId (string) required: UUID of the user
roles (array) required: Array of role UUIDs to assign
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | Yes | Array of role UUIDs to assign | |
| userId | Yes | UUID of the user |