# Reject a schema change

## `POST /v1/schema/changes/{id}/reject`

The caller must act as a user. Requires the `admin` scope.

```json
{
  "tags": [
    "Schema"
  ],
  "operationId": "reject-schema-change",
  "summary": "Reject a schema change",
  "description": "The caller must act as a user. Requires the `admin` scope.",
  "x-retainer-scope": "admin",
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "description": "Retainer identifier.",
      "example": "d2c0648c-2994-4f16-bdf1-a0136be6037d",
      "schema": {
        "type": "string",
        "format": "uuid"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Successful response.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SchemaChangeResult"
          }
        }
      }
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "409": {
      "description": "The change failed to apply.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SchemaChangeResult"
          }
        }
      }
    },
    "default": {
      "$ref": "#/components/responses/ApiError"
    }
  }
}
```

[Full OpenAPI contract](/openapi.json)
