Link a new cloud account (admin)

POST/api/v1/multi-account/accounts

Parameters

This endpoint does not accept parameters.

Responses

201Account linked

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/multi-account/accounts" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "provider": "aws", "account_id": "333333333333", "role_arn": "arn:aws:iam::333333333333:role/KTDiscovery" }'

Response

201Account linked
Example response not yet documented.