Skip to main content
Flags · Revision #1

Create Flag Endpoint

Create Flag Endpoint

Structure

Name
Type
Description
Required
id int The id for the flag No
name string The name of the flag Yes
color hexcode The color of the flag (format ##RRGGBB) Yes

Example Request

POST /api/flags/
{
    "name": "API Flag",
    "color": "#000000",
}

Example Response

{
    "flag": {
        "id": 1
    }
}