---
agentTools:
  projectIndex: https://wiwink.readme.io/llms.txt
---

# Update Status

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Wiwink API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://developers.wiwink.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "<your-api-key>"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/proposals/statuses/{id}": {
      "patch": {
        "summary": "Update Status",
        "description": "",
        "operationId": "update-status-2",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the status.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Name of the status."
                  },
                  "color": {
                    "type": "string",
                    "description": "Color of the status, in RGB hexadecimal (e.g. #ffffff for white)."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"id\": 10,\n        \"name\": \"Standby\",\n        \"color\": \"#ffc107\",\n        \"owned\": true\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 10,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "Standby"
                        },
                        "color": {
                          "type": "string",
                          "example": "#ffc107"
                        },
                        "owned": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "5fc95bf5cedbb60012732d63:615c65c05657700174525599"
}
```