Skip to main content

List Roles

List Roles returns a list of roles supported by a provider for a particular resource type.

Path Parameters
    id string required
    resourceType string required
Responses

A successful response.


Schema
    roles object[]
  • Array [
  • id string
    name string
    description string
    permissions undefined[]
  • ]
GET /v1beta1/providers/:id/resources/:resourceType/roles

Authorization

name: X-Auth-Emailtype: apiKeydescription: Email address of the userin: header

Request

Base URL
http://127.0.0.1:7400
apiKey
id — path required
resourceType — path required
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/providers/:id/resources/:resourceType/roles' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'