Skip to content

Create one role

POST
/role/create

The route used to create a new role

Authorizations

bearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"name": "string",
"parentId": "string",
"rightIds": [
]
}

Responses

application/json
JSON
{
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI