# restoreTeamMember

Restore a removed (SUSPENDED) teammate to the team, the team page's Restore to team. They get access back and use a seat again; work handed over when they were removed stays where it went. Refused when the organization cannot take another member (its seat policy). A member who is already active is left as is. Organization admins only.

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

## Variables

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

## Response (data, an example)

```json
{
  "organizationMutation": {
    "reactivateOrganizationMember": {
      "id": "<ID>",
      "organizationMembershipStatus": "ACTIVE"
    }
  }
}
```

## 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": "restoreTeamMember",
    "variables": {
      "userId": "<userId>"
    }
  }'
```
