Update Flag Endpoint
Structure
| Name |
Type |
Description |
Required |
name |
string | The name of the flag | No |
color |
hexcode | The color of the flag (format ##RRGGBB) | No |
Example Request
PUT /api/flags/{id|name}
{
"name": "API Flag Updated",
"color": "#A1B2C3",
}
Example Response
{
"flag": {
"id": 1
}
}