# fyi.opensocial.declineAuthorization

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.declineAuthorization)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.declineAuthorization/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.declineAuthorization/examples)

## Definitions

### `fyi.opensocial.declineAuthorization`

**Type**: `procedure`

Decline an app's pending request to sign in as a group. Returns the URL to send the browser back to the app with, carrying access_denied.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `requestUri` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `redirectUrl` | `string` (uri) | Yes |  |

#### Errors

- **ExpiredRequest**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Decline an app's pending request to sign in as a group. Returns the URL to send the browser back to the app with, carrying access_denied.",
      "errors": [
        {
          "name": "ExpiredRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "requestUri": {
              "type": "string"
            }
          },
          "required": [
            "requestUri"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "redirectUrl": {
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "redirectUrl"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.declineAuthorization",
  "lexicon": 1
}
```
