---
updatedAt: 2025-10-17T11:21:23.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# Return server instance profiles

Return server instance profiles by the specified region

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "AWS Native"
  },
  "x-explorer-enabled": true,
  "paths": {
    "/organizations/{organization_id}/accounts/{account_id}/aws/regions/{region}/serverinstanceprofiles": {
      "post": {
        "description": "Return server instance profiles by the specified region",
        "summary": "Return server instance profiles",
        "responses": {
          "200": {
            "description": "200 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostOrganizationsAccountsAwsRegionsServerinstanceprofilesResponse"
                }
              }
            }
          },
          "201": {
            "description": "201 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/empty"
                }
              }
            }
          },
          "401": {
            "description": "401 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "403 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "404 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "organization_id",
            "in": "path",
            "description": "Organization Id of the Organization that you are working with. This can be found by looking at the organization id in the URL of the dashboard. These are randomly generated alphanumber values",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "account_id",
            "in": "path",
            "description": "Account id of the CloudRanger Account that you are managing inside an organization, these can be found by call the /organizations/{organization_id}/accounts endpoints which returns all accounts inside an Organization These are randomly generated alphanumber values",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "region",
            "in": "path",
            "description": "The region that you want to perform the request against. This can be found by checking where your resource is located in the CloudRanger console or in the AWS console",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "us-east-1",
                "us-east-2",
                "us-west-1",
                "us-west-2",
                "af-south-1",
                "ap-southeast-4",
                "ap-east-1",
                "ap-south-2",
                "ap-southeast-3",
                "ap-south-1",
                "ap-northeast-3",
                "ap-northeast-2",
                "ap-southeast-1",
                "ap-southeast-2",
                "ap-northeast-1",
                "ca-central-1",
                "eu-central-1",
                "eu-west-1",
                "eu-west-2",
                "eu-south-1",
                "eu-west-3",
                "eu-south-2",
                "eu-north-1",
                "eu-central-2",
                "me-south-1",
                "me-central-1",
                "il-central-1",
                "sa-east-1",
                "us-gov-west-1",
                "us-gov-east-1"
              ]
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostOrganizationsAccountsAwsRegionsServerinstanceprofilesRequest"
              }
            }
          },
          "description": "Rules",
          "required": true
        },
        "tags": [
          "Aws"
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "//apis.druva.com/awsnative"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "empty": {
        "type": "object",
        "properties": {}
      },
      "PostOrganizationsAccountsAwsRegionsServerinstanceprofilesRequest": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "resource_types": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "regions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "matches": {
              "type": "object",
              "properties": {
                "tags": {
                  "type": "array",
                  "items": {
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "value": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            },
            "id": {
              "type": "integer"
            },
            "dr_plan_id": {
              "type": "integer"
            },
            "rule_type": {
              "type": "string"
            },
            "all_resource_types": {
              "type": "boolean"
            },
            "exclude": {
              "type": "boolean"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resources": {
              "type": "array",
              "items": {
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "resource_id": {
                    "type": "string"
                  },
                  "rule_id": {
                    "type": "string"
                  },
                  "resource_name": {
                    "type": "string"
                  },
                  "account_id": {
                    "type": "string"
                  },
                  "region": {
                    "type": "string"
                  }
                }
              }
            },
            "accounts": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "account_id": {
                    "type": "string"
                  }
                }
              }
            },
            "match": {
              "type": "integer"
            },
            "protectedStatus": {
              "type": "string"
            }
          }
        }
      },
      "PostOrganizationsAccountsAwsRegionsServerinstanceprofilesResponse": {
        "type": "object",
        "properties": {
          "InstanceProfileArns": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": true
  }
}
```