---
title: "Delete current user's Google Earth Engine credentials."
method: DELETE
path: "/api/v1/user/me/gee-credentials"
---

# Delete current user's Google Earth Engine credentials.

`DELETE /api/v1/user/me/gee-credentials`

**Authentication**: JWT token required
**Authorization**: Any authenticated user

**Response Schema**:
```json
{
  "message": "GEE credentials deleted successfully"
}
```

**What Gets Deleted**:
- OAuth access and refresh tokens (if using OAuth)
- Service account key (if using service account)
- Credentials type and creation timestamp
- All encrypted credential data is permanently removed

**Error Responses**:
- `401 Unauthorized`: JWT token required or invalid
- `404 Not Found`: User not found or no GEE credentials exist
- `500 Internal Server Error`: Failed to delete credentials

## Response `200`

Success

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/trends/apis/trends-earth-api.md) · [All operations](https://skmtc.dev/trends/apis/trends-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trends/trends-earth-api/revisions/6bdbc0b84666/schema)
