Update the state of a list
put/lists/{listId}/state
Updates the list's 'state' property value as either 'deployed' or 'developing'.
1{2 "id": "3659ea38-2618-4474-aeac-0bf6cfd3c322",3 "version": 1,4 "creationTimeStamp": "2022-03-01T20:18:32Z",5 "modifiedTimeStamp": "2022-03-01T20:18:32Z",6 "createdBy": "appUser1",7 "modifiedBy": "appUser1",8 "name": "list-a",9 "description": "The A-list users",10 "state": "developing",11 "duplicateKeysEnabled": false,12 "columns": [13 {14 "name": "userId",15 "dataType": "string",16 "position": 1,17 "isKey": true,18 "keyPosition": 119 },20 {21 "name": "firstName",22 "dataType": "string",23 "position": 2,24 "isKey": false,25 "keyPosition": 026 },27 {28 "name": "lastName",29 "dataType": "string",30 "position": 3,31 "isKey": false,32 "keyPosition": 033 },34 {35 "name": "salary",36 "dataType": "number",37 "position": 4,38 "isKey": false,39 "keyPosition": 0,40 "dataMask": {41 "name": "MaskStart",42 "regex": ".(....$)|.",43 "replace": "*$1",44 "example": "****1234"45 }46 }47 ],48 "label": "corporate marketing",49 "links": [50 {51 "href": "...",52 "method": "...",53 "rel": "...",54 "uri": "..."55 }56 ]57}
| Name | Type | Required | Description |
|---|---|---|---|
listId | string | true | A universally unique identifier for a list. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Headers | Schema |
| 400 | Bad Request | The request was invalid. | Schema | |
| 403 | Forbidden | The user did not have the necessary permissions. | Schema | |
| 404 | Not Found | No item exists at the requested path. | Schema | |
| 500 | Internal Server Error | The request could not be fulfilled because of an unexpected server error. | Schema |