Get information on all available AWS role objects. 

NOTE: APIs for AWS roles apply only to instances of the that are hosted on AWS and configured for user mode of authentication.

For more information on how to use awsRole objects, see API Workflow - Manage AWS Configurations.


Version: 
v4

Required Permissions

Request

Request Type: GET

Endpoint:

/v4/awsRoles/

Request URI - Example:

/v4/awsRoles

Request Body:

Empty.

Response

Response Status Code - Success:  200 - OK

Response Body Example:

{
    "data": [
        {
            "id": 2,
            "role": "<my_iam_role_arn_9",
            "createdFrom": "api",
            "createdAt": "2019-07-15T23:18:59.360Z",
            "updatedAt": "2019-07-15T23:34:31.191Z",
            "awsConfig": {
                "id": 3
            }
        },
        {
            "id": 1,
            "role": "string4",
            "role": "<my_iam_role_arn_8",
            "createdAt": "2019-07-15T23:18:59.360Z",
            "updatedAt": "2019-07-15T23:34:31.191Z",
            "awsConfig": {
                "id": 1
            }
        }
    ]
}

Reference

For more information, see API AWSRoles Get v4.