---
id: list-all-roles-for-a-resource
title: "List all roles for a resource."
description: "List all roles for a resource."
sidebar_label: "List all roles for a resource."
hide_title: true
hide_table_of_contents: true
api: eJyNUk2L2zAQ/SvmnVoQDXvVbQulBHpY0t1T8EGJJ7FYWfKOxmGD0H8v4zhpA/26SeLpzfuYgo7ynv0oPkVYfPNZGhdCwylQbg6JG9cw5TTxnj7BQNwxw26xWd5gsEmB0Bpk2k/s5Qy7LfhMjombx0l62G1bW4PRsRtIiPOMyPueBgdbIOeRYJGFfTyiGjC9TZ6pgxWeyCC6QQFXHesOBl7ljk56KDdTHlPMlGFLNRhI+tTB4kgCc4FZrK4Eq/KTqq5mq1D9fLqKmzjoh9PDzH519l0lzzPu/d0s9CKjMs04WOxmFGpVvYekSB1xyfr0oHl6CYp8cvGYgo/NOgod2WkfzePTWuMYU5bBRf29JPHPmu5aLdinKBTlvwq+OBF6l9UYnI+qYI6jLDlub0XAwN6VcomyNehTFkWWsnOZXjjUqs9vE7HuR2twcuzdTr1vCzqf9dzBHlzI9Bf9HzbLbnxs/iR2eXTxDB0TJr3B4JXO90tU219X5euXZxi4+0KXAs31oGJ/y1/KBfGcXinWehsnetdJtf4A1I0p0A==
sidebar_class_name: "get api-method"
info_path: 03-Pangolin/07-API/02-Routes/pangolin-integration-api
custom_edit_url: null
hide_send_button: true
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"List all roles for a resource."}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/resource/{resourceId}/roles"}
  context={"endpoint"}
>
  
</MethodEndpoint>



List all roles for a resource.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"schema":{"type":"string"},"required":true,"name":"resourceId","in":"path"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{}}
>
  
</StatusCodes>


      