> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bibleit.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bibleit.dev/_mcp/server.

# Disconnect an authorized application

POST https://bibleit.app/settings/applications
Content-Type: application/x-www-form-urlencoded

Reuses browser-session-owned OAuth grant revocation with exact same-origin and CSRF validation. Disconnecting revokes only the selected authorization and its access/refresh tokens, then redirects to Settings Applications with one-time success feedback. Browser sign-out is separate.

**Response headers:**

- `Cache-Control` (303): no-store.
- `Referrer-Policy` (303): no-referrer.
- `Location` (303): Settings Applications after successful revocation.

**Additional request headers:**

- `Origin` (required): Must exactly match the Bibleit origin; the browser-session-bound CSRF form value is also required.

Reference: https://docs.bibleit.dev/api-reference/o-auth/disconnect-settings-application

## Request

### Body (application/x-www-form-urlencoded)

This endpoint expects an object.

- `csrf` (string, required)
- `grant_id` (string, required)

## Examples

**Request**

```json
{
  "csrf": "string",
  "grant_id": "string"
}
```

**SDK Code**

```python
import requests

url = "https://bibleit.app/settings/applications"

payload = ""
headers = {"Content-Type": "application/x-www-form-urlencoded"}

response = requests.post(url, data=payload, headers=headers)

print(response.json())
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://bibleit.app/settings/applications"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Content-Type", "application/x-www-form-urlencoded")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```