# deletePersonalGoal

Delete a personal goal from a DRAFT plan for good; updatePersonalGoalStatus ARCHIVED keeps it. goalPlanId/goalId from getGoalPlan. Your own plan; a teammate’s is the *Teammate* op (ADMIN).

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "deletePersonalGoal", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `goalId`: `ID!` (required)

## Response (data, an example)

```json
{
  "agentGoalsMutation": {
    "deleteAgentPersonalGoal": true
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "deletePersonalGoal",
    "variables": {
      "goalId": "<goalId>"
    }
  }'
```
