---
title: "Update Credential"
method: PUT
path: "/organizations/{organization_id}/accounts/{account_id}/credential"
tags: ["Accounts"]
---

# Update Credential

`PUT /organizations/{organization_id}/accounts/{account_id}/credential`

## Request

- Base URL: `//apis.druva.com/awsnative` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/awsnative/organizations/{organization_id}/accounts/{account_id}/credential`
- Auth: API key in header `Authorization`

Updates the credentials of the given account

## Path parameters

- `organization_id` string, required
- `account_id` string, required

## Request body

- PutOrganizationsAccountsCredentialRequest
  - `account_id` string
  - `external_id` string
  - `access_role_arn` string
  - `cloudformation_s3_url` string
  - `state` string
  - `state_reason` string
  - `has_agreed` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `200`

200 response

- PutOrganizationsAccountsCredentialResponse

## Other responses

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

---

[API](https://skmtc.dev/druva/apis/aws-native.md) - [All operations](https://skmtc.dev/druva/apis/aws-native/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/aws-native/revisions/6dd34c53e5f5?raw)
