EasypanelDocs

Create a WordPress role

Adds a custom role to a WordPress site.

POST
/createWordPressRole

Adds a custom role to a WordPress site.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/createWordPressRole" \  -H "Content-Type: application/json" \  -d '{    "projectName": "string",    "serviceName": "string",    "role": {      "display_name": "string",      "name": "string"    }  }'
null