> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doglytdc.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Apps autorizadas

> Rutas de la API de Scripts: apps autorizadas.

| Método | Ruta | Qué hace |
| - | - | - |
| `GET` | `/oauth2/@me/authorizations` | Apps autorizadas en tu cuenta (las mismas autorizaciones del Hub OAuth). |
| `DELETE` | `/oauth2/@me/authorizations/{authorization_id}` | Revoca una app autorizada y todos sus tokens. |

## GET /oauth2/@me/authorizations

Apps autorizadas en tu cuenta (las mismas autorizaciones del Hub OAuth).

**Autenticación:** Solo sesión de DoglyTdc (panel). Los tokens de script y OAuth no sirven.

**Respuesta:** `{ id, application: { id, name, icon_url }, scopes, created_at }[]`

```bash cURL theme={null}
curl -X GET "https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-scripts-api/oauth2/@me/authorizations" \
  -H "Authorization: Bearer dts_SEU_TOKEN"
```

## DELETE /oauth2/@me/authorizations/\{authorization\_id}

Revoca una app autorizada y todos sus tokens.

**Autenticación:** Solo sesión de DoglyTdc (panel). Los tokens de script y OAuth no sirven.

**Parámetros de la ruta:** `authorization_id`

**Respuesta:** `204`

```bash cURL theme={null}
curl -X DELETE "https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-scripts-api/oauth2/@me/authorizations/{authorization_id}" \
  -H "Authorization: Bearer dts_SEU_TOKEN"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.