Check that a list exists
head/lists/{listId}
Checks for the existence of a list.
A successful response (for example, 200 OK) indicates that the list exists. An unsuccessful response (for example, 404 Not Found) indicates that the list does not exist.
| Name | Type | Required | Description |
|---|---|---|---|
listId | string | true | A universally unique identifier for a list. |
| Name | Type | Required | Description |
|---|---|---|---|
Accept | string | false | The desired response type. Allowed values: application/jsonapplication/vnd.sas.listdata.list+jsonapplication/vnd.sas.listdata.list+json;version=1application/vnd.sas.listdata.listdetails+jsonapplication/vnd.sas.listdata.listdetails.consumers+jsonapplication/vnd.sas.transfer.object+jsonapplication/vnd.sas.summary+json |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Headers | 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 |