AWS PrivateLink API - PUT allowlist
Adds an AWS account to the allowlist of AWS PrivateLink.
The request consumes and produces an application/json
payload.
PUT | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/aws/privateLink/allowlistedAccounts/{id} |
Environment ActiveGate | https://{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
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string | The AWS account id to be updated in the AWS PrivateLink allowlist, has to match the id in the provided payload. | path | required |
body | Allowlisted | The AWS account id to be updated in the AWS PrivateLink allowlist, has to match the id in the path. | body | required |
Request body objects
The AllowlistedAwsAccount
object
Element | Type | Description | Required |
---|---|---|---|
id | string | 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
Code | Type | Description |
---|---|---|
201 | Allowlisted | Success. The account id has been added to the PrivateLink allowlist. |
204 | - | Success. The account id already exists in the PrivateLink allowlist. |
400 | Error | Error. Wrong format of the provided AWS account id (length = 12 characters, only digits). |
Response body objects
The AllowlistedAwsAccount
object
Element | Type | Description |
---|---|---|
id | string | The AWS account id to allowlist |
Response body JSON model
{"id": "string"}