

# GetAccountColor


Gets the color associated with the account.

*This action has been deprecated.* Use [GetAccountCustomizations](API_GetAccountCustomizations.md) instead.

## Request Syntax


```
GET /v1/account-color HTTP/1.1
```

## URI Request Parameters


The request does not use any URI parameters.

## Request Body


The request does not have a request body.

## Response Syntax


```
HTTP/1.1 200
Content-type: application/json

{
   "color": "string"
}
```

## Response Elements


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

The following data is returned in JSON format by the service.

**color**  
The color associated with the account.  
Type: String  
Valid Values: `none` \$1 `pink` \$1 `purple` \$1 `darkBlue` \$1 `lightBlue` \$1 `teal` \$1 `green` \$1 `yellow` \$1 `orange` \$1 `red`

## Errors


**AccessDeniedException**  
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

**InternalServerException**  
The service encountered an internal error. Try your request again later.  
HTTP Status Code: 500

**ThrottlingException**  
The request was denied because of request throttling. Reduce the frequency of your requests.  
HTTP Status Code: 429

**ValidationException**  
The input does not satisfy the constraints that are specified by the service.  
HTTP Status Code: 400