Modify the specified AWS configuration object using the provided parameters. 

NOTE: APIs for AWS configs apply only to instances of the that are hosted on AWS and configured for user mode of authentication. These configuration objects can be assigned to individual users as needed.


Version: 
v4

Required Permissions

Request

Request Type: PUT

Endpoint:

/v4/awsConfigs/<id>

where:

ParameterDescription
<id>Internal identifier for the AWS configuration object


Request URI - Example:

/v4/awsConfigs/2

Request Body:

The request body contains the parameters of the awsConfigs object that you wish to modify. You do not have to include parameters that are not being modified.

{
"defaultBucket":"testing2"
}

 

Response

Response Status Code - Success:  200 - OK

Response Body Example:

{
    "extraBuckets": [
        "bucket1",
        "bucket2"
    ],
    "id": 2,
    "defaultBucket": "testing2",
    "credentialProvider": "default",
    "role": null,
    "externalId": null,
    "createdAt": "2019-04-16T19:48:47.075Z",
    "updatedAt": "2019-04-16T19:48:47.153Z",
    "credential": {
        "id": 21
    }
}

Reference

For more information, see API AWSConfigs Get v4.