Create a list revision

post/lists/{listId}/revisions

Creates a new revision for a list.

Creating a new revision makes the previous revision immutable, meaning that its contents cannot be changed.

If the list predates the addition of list revisions, revision 1 is created the first time this endpoint is called.

Request Samples

1

Response Samples

1{
2 "id": "3659ea38-2618-4474-aeac-0bf6cfd3c322",
3 "listResourceId": "9ec45a61-774c-488e-99a0-03dfde70b966",
4 "creationTimeStamp": "2022-03-01T20:18:32Z",
5 "createdBy": "appUser1",
6 "description": "The A-list users",
7 "label": "corporate marketing",
8 "revision": 1
9}

Path Parameters

NameTypeRequiredDescription
listId
string
true

A universally unique identifier for a list.

Responses

StatusMeaningDescription
201Created

A revision was created.

HeadersSchema
403Forbidden

The user did not have the necessary permissions.

Schema
404Not Found

No item exists at the requested path.

Schema
500Internal Server Error

The request could not be fulfilled because of an unexpected server error.

Schema