AWS PrivateLink API - PUT allowlist

Adds an AWS account to the allowlist of AWS PrivateLink.

The request consumes and produces an application/json payload.

PUTSaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/aws/privateLink/allowlistedAccounts/{id}
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/aws/privateLink/allowlistedAccounts/{id}

Authentication

To execute this request, you need an access token with WriteConfig scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The AWS account id to be updated in the AWS PrivateLink allowlist, has to match the id in the provided payload.

pathrequired
bodyAllowlistedAwsAccount

The AWS account id to be updated in the AWS PrivateLink allowlist, has to match the id in the path.

bodyrequired

Request body objects

The AllowlistedAwsAccount object

ElementTypeDescriptionRequired
idstring

The AWS account id to allowlist

required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"id": "string"
}

Response

Response codes

CodeTypeDescription
201AllowlistedAwsAccount

Success. The account id has been added to the PrivateLink allowlist.

204-

Success. The account id already exists in the PrivateLink allowlist.

400ErrorEnvelope

Error. Wrong format of the provided AWS account id (length = 12 characters, only digits).

Response body objects

The AllowlistedAwsAccount object

ElementTypeDescription
idstring

The AWS account id to allowlist

Response body JSON model

{
"id": "string"
}