# enterSudoMode

> Required permission: Authenticated

Source: https://docs.gastrogate.io/docs/api/mutations/enterSudoMode

```graphql
enterSudoMode(
  password: String!
): SudoModeTicket
```

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `password` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md)! |  |

## Returns

[`SudoModeTicket`](https://docs.gastrogate.io/docs/api/types/SudoModeTicket.md)

## Example

```graphql
mutation EnterSudoMode($password: String!) {
  enterSudoMode(password: $password) {
    id
    expiresAt
  }
}
```

```bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { enterSudoMode(...) { __typename } }"}'
```
