# pub.chive.governance.rejectElevation

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.governance.rejectElevation)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.governance.rejectElevation/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.governance.rejectElevation/examples)

## Definitions

### `pub.chive.governance.rejectElevation`

**Type**: `procedure`

Reject a pending elevation request. Only accessible by administrators.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `reason` | `string` | Yes | Reason for rejection |
| `requestId` | `string` | Yes | ID of the elevation request to reject |

#### Output

**Encoding**: `application/json`

#### Errors

- **AuthenticationRequired**
- **Unauthorized**
- **NotFound**

### `pub.chive.governance.rejectElevation#elevationResult`

**Type**: `object`

Result of elevation operation

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `message` | `string` | Yes | Human-readable result message |
| `success` | `boolean` | Yes | Whether the operation succeeded |
| `requestId` | `string` | No | Elevation request ID |

## Raw Schema

```json
{
  "id": "pub.chive.governance.rejectElevation",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "requestId",
            "reason"
          ],
          "properties": {
            "reason": {
              "type": "string",
              "maxLength": 1000,
              "minLength": 10,
              "description": "Reason for rejection"
            },
            "requestId": {
              "type": "string",
              "description": "ID of the elevation request to reject"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "Unauthorized"
        },
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "schema": {
          "ref": "#elevationResult",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Reject a pending elevation request. Only accessible by administrators."
    },
    "elevationResult": {
      "type": "object",
      "required": [
        "success",
        "message"
      ],
      "properties": {
        "message": {
          "type": "string",
          "description": "Human-readable result message"
        },
        "success": {
          "type": "boolean",
          "description": "Whether the operation succeeded"
        },
        "requestId": {
          "type": "string",
          "description": "Elevation request ID"
        }
      },
      "description": "Result of elevation operation"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
