Contract Testing: Admin Add Role to User
contract-testing_admin_add_role_to_userAssign a single role to a specified user using user and role UUIDs, enabling admins to manage access permissions in Contract Testing.
Instructions
Add a single role to a user (admin).
Toolset: Admin
Parameters:
userId (string) required: UUID of the user
roleId (string) required: UUID of the role
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | UUID of the role | |
| userId | Yes | UUID of the user |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | The operation completed; the API returns no body. |