wordpress_assign_role
Assign user roles in WordPress to manage site permissions and access levels by specifying user ID and role type.
Instructions
Assign role to user
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| role | Yes |
Input Schema (JSON Schema)
{
"properties": {
"role": {
"type": "string"
},
"userId": {
"type": "number"
}
},
"required": [
"userId",
"role"
],
"type": "object"
}