Get Role Permissions
GET
/web/v1/workspaces/{workspaceId}/roles/{roleId}/permissionsJWTRetrieves the list of permission codes assigned to a workspace role.
Authentication
Auth Chain: WEB Chain — requires
Authorization: Bearer <jwt>System-injected headers (frontend does nothing):X-PORTAL-ACCESS-CODE(Nginx),X-Request-Id(Gateway)
Request Parameters
| Name | Type | Required | In | Description |
|---|---|---|---|---|
workspaceId | String | Yes | path | Business ID of the workspace |
roleId | String | Yes | path | Business ID of the role |
Success Response
Success200
{
"version": "1.3.0",
"timestamp": 1709337600000,
"success": true,
"code": "2000",
"message": "SUCCESS",
"data": []
}Error Responses
Unauthorized401
{
"success": false,
"code": "4010",
"message": "Invalid or expired token"
}