change_color
Change your kingdom color to resolve color conflicts with neighbors by providing a color_id from get_colors. Returns 409 if the chosen color conflicts.
Instructions
Change your kingdom color. Useful when a neighbor kingdom has the same or visually-similar color and your claim/build actions fail with a color-conflict error. Pass the color_id (0-59) you picked from get_colors. Returns 409 if the new color conflicts with a neighbor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Crowns API key | |
| color_id | Yes | Color index from the palette (see get_colors) |