AWS PrivateLink API - DELETE allowlist

  • Reference
  • Published Nov 19, 2020

Removes an AWS account from the allowlist of AWS PrivateLink.

DELETESaaShttps://{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 deleted from the AWS PrivateLink allowlist

pathRequired

Response

Response codes

CodeTypeDescription
204-

Success. The account id has been removed from the PrivateLink allowlist.

400ErrorEnvelope

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

Response body objects

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
codeinteger

The HTTP status code

constraintViolationsConstraintViolation[]

A list of constraint violations

messagestring

The error message

The ConstraintViolation object

A list of constraint violations

ElementTypeDescription
locationstring-
messagestring-
parameterLocationstring-
The element can hold these values
  • HEADER
  • PATH
  • PAYLOAD_BODY
  • QUERY
pathstring-

Response body JSON models

{
"error": {
"code": 1,
"constraintViolations": [
{
"location": "string",
"message": "string",
"parameterLocation": "HEADER",
"path": "string"
}
],
"message": "string"
}
}