---
title: "generate cloudformation template"
method: POST
path: "/organizations/{organization_id}/credential"
tags: ["Organization"]
---

# generate cloudformation template

`POST /organizations/{organization_id}/credential`

Generate cloludformation template for organization account

## Path parameters

- `organization_id` string, required

## Request body

- PostOrganizationsCredentialRequest
  - `id` string
  - `name` string

## Response `200`

200 response

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

## Other responses

- `201` — 201 response
- `401` — 401 response
- `403` — 403 response
- `404` — 404 response

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/versions/2af2bf148b25/schema)
