---
title: GuestAccountPolicy type | Wartiva GraphQL API
description: Guest account enablement policy on an endpoint. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/guest-account-policy.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `GuestAccountPolicy` type

Guest account enablement policy on an endpoint.

## Fields

| Field Name | Description |
|---|---|
| `enableGuestAccount` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Whether the guest account is enabled via MDM policy. |
| `guestEnabled` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Whether the guest account is currently enabled on the system. |

## Used by

- [`LocalPoliciesMacOS`](https://wartiva.com/api-docs/types/local-policies-mac-os.html) type: MacOS-specific local policies.

## Example

### Example

```json
{"enableGuestAccount": false, "guestEnabled": true}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
