

# PutConfiguration
<a name="API_app-registry_PutConfiguration"></a>

 Associates a `TagKey` configuration to an account. 

## Request Syntax
<a name="API_app-registry_PutConfiguration_RequestSyntax"></a>

```
PUT /configuration HTTP/1.1
Content-type: application/json

{
   "configuration": { 
      "tagQueryConfiguration": { 
         "tagKey": "{{string}}"
      }
   }
}
```

## URI Request Parameters
<a name="API_app-registry_PutConfiguration_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_app-registry_PutConfiguration_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [configuration](#API_app-registry_PutConfiguration_RequestSyntax) **   <a name="servicecatalog-app-registry_PutConfiguration-request-configuration"></a>
 Associates a `TagKey` configuration to an account.   
Type: [AppRegistryConfiguration](API_app-registry_AppRegistryConfiguration.md) object  
Required: Yes

## Response Syntax
<a name="API_app-registry_PutConfiguration_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_app-registry_PutConfiguration_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_app-registry_PutConfiguration_Errors"></a>

 ** ConflictException **   
There was a conflict when processing the request (for example, a resource with the given name already exists within the account).  
HTTP Status Code: 409

 ** InternalServerException **   
The service is experiencing internal problems.  
HTTP Status Code: 500

 ** ValidationException **   
The request has invalid or missing parameters.  
HTTP Status Code: 400

## See Also
<a name="API_app-registry_PutConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/AWS242AppRegistry-2020-06-24/PutConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/AWS242AppRegistry-2020-06-24/PutConfiguration) 