/
CA
casdoor
/
Casdoor RESTful API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 2h ago · Updated 3w ago
View markdown
casdoor
Casdoor RESTful API
post
/api/add-role
v1
latest
Swagger 2.0
2026-07-17
177
67
116.8 KB
Account API
12
Adapter API
5
Application API
7
Cert API
6
Enforce API
2
Enforcer API
5
GetDashboard API
1
GetWebhookEventType API
1
Group API
5
HandleOfficialAccountEvent API
1
Login API
9
MFA API
5
Model API
5
OIDC API
2
Organization API
7
Payment API
8
Permission API
7
Plan API
5
Pricing API
5
Product API
6
Prometheus API
1
Provider API
6
Record API
3
Resource API
6
Role API
5
post
/api/add-role
post
/api/delete-role
get
/api/get-role
get
/api/get-roles
post
/api/update-role
Service API
2
Session API
6
Subscription API
5
Syncer API
6
System API
3
Token API
8
User API
13
Verification API
3
Webhook API
5
post
/api/login/oauth/introspect
Role API
add role
post
/api/add-role
Request body
ObjectRole
required
createdTime
string
description
string
displayName
string
domains
string[]
isEnabled
boolean
name
string
owner
string
roles
string[]
users
string[]
Response
The Response object