Deletes an AWS RAM Resource Share for a Transit Gateway that has been shared with an Atlas AWS Account. This does not delete the resource share from the sender's AWS account. This only deletes the resource share that's cached for Atlas Streams Processing.
Deletes an AWS RAM Resource Share for a Transit Gateway that has been shared with an Atlas AWS account. This does not delete the resource share from the sender's AWS account. This only deletes the resource share that's cached for Atlas Streams Processing.
POST
/api/atlas/v2/groups/{groupId}/streams:deleteTgwResourceShare
curl \
--request POST 'https://cloud.mongodb.com/api/atlas/v2/groups/32b6e34b3d91647abb20e7b8/streams:deleteTgwResourceShare' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/vnd.atlas.preview+json"
Request examples
{
"tgwId": "string",
"tgwResourceShareArn": "string"
}
Response examples (400)
{
"error": 400,
"detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
"reason": "Bad Request",
"errorCode": "VALIDATION_ERROR"
}
Response examples (401)
{
"error": 401,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Unauthorized",
"errorCode": "NOT_ORG_GROUP_CREATOR"
}
Response examples (403)
{
"error": 403,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Forbidden",
"errorCode": "CANNOT_CHANGE_GROUP_NAME"
}
Response examples (404)
{
"error": 404,
"detail": "(This is just an example, the exception may not be related to this endpoint) Cannot find resource AWS",
"reason": "Not Found",
"errorCode": "RESOURCE_NOT_FOUND"
}
Response examples (500)
{
"error": 500,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Internal Server Error",
"errorCode": "UNEXPECTED_ERROR"
}