> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plazen.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Development endpoints

> Overview of development endpoint for the Plazen API

### List developer settings (introduced in [v1.13.0](https://www.plazen.org/release-notes/3b974f5b-0b0b-4034-b90b-08d3bb1b9b10))

```endpoint theme={null}
method: GET
path: /api/dev/settings
summary: Returns current dev mode settings (admin status, subscription status)
```

**Auth:** None\
**Success:** JSON array where `isAdmin : Boolean, isSubscribed : Boolean`\
**Error:** `403 { error: "Dev mode is not enabled" }`

### Change developer settings (introduced in [v1.13.0](https://www.plazen.org/release-notes/3b974f5b-0b0b-4034-b90b-08d3bb1b9b10))

```endpoint theme={null}
method: PATCH
path: /api/dev/settings
summary: Updates dev mode settings (admin status, subscription status)
requestBody:
  - name: isAdmin
	type: Boolean
    required: true
  - name: isSubscribed
	type: Boolean
    required: true
```

**Auth:** None\
**Success:** JSON array where `isAdmin : Boolean, isSubscribed : Boolean`\
**Errors:** `403 { error: "Dev mode is not enabled" }, 500 { error: "Failed to update settings" }`
