Skip to main content

Gets a role

GET 

https://apis.<domain>/iam/roles/:id

Returns the details for a role.

Authorization Action:

iam:roles:get

Request

Path Parameters

    id stringrequired

    ID of the role.

Responses

A successful response.

Schema
    role object
    name string

    Name for the role.

    id string

    Unique ID. Cannot be changed.

    type compiuta.api.iam.v2.Type

    Possible values: [COMPIUTA_MANAGED, CUSTOM]

    Default value: COMPIUTA_MANAGED

    actions string[]

    List of actions this role scopes to. Will contain one or more.

    tenants string[]

    List of tenants this role belongs to. May be empty.

curl -L -X GET 'https://apis.<domain>/iam/roles/:id' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://apis.<domain>
Parameters
— pathrequired