---
updatedAt: 2025-06-11T22:00:20.000Z
agentTools:
  projectIndex: https://influitive.readme.io/llms.txt
---

# Archive a Challenge

Archive a challenge identified by the challenge ID

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "do-not-delete",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.influitive.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Auhtorization Token"
      },
      "sec1": {
        "type": "apiKey",
        "in": "header",
        "name": "X_ORG_ID"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/challenges/{id}/archive": {
      "post": {
        "summary": "Archive a Challenge",
        "description": "",
        "operationId": "archive-a-challenge",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Challenge ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"success\"\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "422",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": {\n    \"message\": \"Cannot archive challenge\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "Cannot archive challenge"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```