Skip to main content
Flags · Revision #1

Update Flag Endpoint

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
    }
}