---
title: "Perform test assume role"
method: POST
path: "/organizations/{organization_id}/aws/connection/test"
tags: ["Organization"]
---

# Perform test assume role

`POST /organizations/{organization_id}/aws/connection/test`

## Request

- Base URL: `https://api.cloudranger.com/202004`
- URL: `https://api.cloudranger.com/202004/organizations/{organization_id}/aws/connection/test`
- Auth: API key in header `Authorization` and API key in header `x-api-key`

Perform a test assume role to verify  the connection to the AWS account

## Path parameters

- `organization_id` string, required

## Request body

- PostOrganizationsAwsConnectionTestRequest
  - `access_role_arn` string
  - `external_id` string
  - `organization_id` string

## Response `200`

200 response

- PostOrganizationsAwsConnectionTestResponse
  - `state` string

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/cloudranger.md) - [All operations](https://skmtc.dev/druva/apis/cloudranger/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cloudranger/revisions/0b87602807da?raw)
