Vigilfield Docs
API referenceSources

Bulk_iam_templates

POST/iam-templates

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /iam-templates body. The id list defaults empty — that is the implicit selection (every awaiting_role source the caller may read); a named id is rendered in any state.

Response Body

application/json

curl -X POST "https://example.com/iam-templates" \  -H "Content-Type: application/json" \  -d '{}'
{  "skipped": [    {      "id": "string",      "kind": "string",      "reason": "string"    }  ],  "templates": [    {      "account_id": "string",      "cloudformation_yaml": "string",      "identity_provider_included": true,      "roles": [        {          "id": "string",          "kind": "string",          "permissions_policy": "string",          "role_arn": "string",          "token_subject": "string",          "trust_policy": "string"        }      ],      "terraform_hcl": "string"    }  ]}