---
title: "Rename a list or change its unsublist flag"
method: POST
path: "/edit-list/"
tags: ["Lists"]
---

# Rename a list or change its unsublist flag

`POST /edit-list/`

## Request

- Base URL: `http://api.smsfusion.com.au`
- URL: `http://api.smsfusion.com.au/edit-list/`
- Auth: one of:
  - API key in query parameter `key`
  - HTTP basic

## Query parameters

- `key` string, required

## Response `200`

List updated

- object
  - `success` boolean
  - `id` integer

## Other responses

- `401`: FIELD_EMPTY (id missing, or name given but blank) or VALIDATION_FAILED (readonly list, or neither name nor unsublist given)
- `404`: List not found or not owned
- `405`: Method not allowed - POST only

---

[API](https://skmtc.dev/smsfusion/apis/sms-fusion-api.md) · [All operations](https://skmtc.dev/smsfusion/apis/sms-fusion-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smsfusion/apis/sms-fusion-api/revisions/a88b2793a6e9?raw)
