Appearance
Get user types
About 141 wordsLess than 1 minute
apiUsers
2025-03-13
MethodGET
Request URL
/plugin/datafor-auth/api/roles/types
Authorization
Use of this API requires authentication. For details about the authentication method, see
Authorization.
Response Examples
{
"data": {
"total": 3,
"success": true,
"list": [
{
"authority": "SYS_Reader"
},
{
"authority": "SYS_Creator"
},
{
"authority": "Administrator"
}
]
},
"success": true
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data Schema |
---|---|---|---|
200 | OK | none | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Description |
---|---|---|---|
data | object | Yes | Contains response data. |
├── total | integer | Yes | Total number of user types available. |
├── success | boolean | Yes | Indicates whether the request was successful. |
├── list | [object] | Yes | List of available user types. |
├── └── authority | string | Yes | Name of the user authority type (e.g., SYS_Reader ). |
success | boolean | Yes | Overall success status of the request. |