Create a cross-account link (admin)

POST/api/v1/cross-account/links

Parameters

This endpoint does not accept parameters.

Responses

201Link created

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/cross-account/links" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "provider": "aws", "source_account_id": "111111111111", "target_account_id": "222222222222", "role_name": "KTDiscoveryRole" }'

Response

201Link created
Example response not yet documented.