View Workspace Resources or Roles by Workspace and Resource Class

get

/primeapi/restapi/resource/workspaceResource/workspace/{workspaceId}?type={type}

This endpoint returns workspace resources that meet the following requirements:
  • The object is associated with a workspace with an ID value that matches the value of the {workspaceId} path parameter.

Request

Path Parameters
Query Parameters
  • The type of a resource.
    Allowed Values: [ "resource", "role" ]

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ApiEntityWorkspaceResource
Type: object
Show Source

204 Response

Successful operation with no content.

404 Response

The requested resource does not exist, or you do not have access to it.