Delete a table
Deletes a table resource.
1{2 "id": "cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96",3 "name": "AIRLINES",4 "label": "Airlines",5 "providerId": "cas",6 "type": "dataTable",7 "state": "running",8 "duration": 0.255,9 "createdBy": "sasjoe",10 "modifiedBy": "sasjoe",11 "creationTimeStamp": "0001-01-01T00:00:00Z",12 "modifiedTimeStamp": "0001-01-01T00:00:00Z",13 "version": 2,14 "links": [15 {16 "method": "GET",17 "rel": "self",18 "href": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96",19 "uri": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96",20 "type": "application/vnd.sas.data.table.job"21 },22 {23 "method": "GET",24 "rel": "alternate",25 "href": "/jobExecution/jobs/9bb8f3b2-4787-4955-bc24-6635cd7c2e96",26 "uri": "/jobExecution/jobs/9bb8f3b2-4787-4955-bc24-6635cd7c2e96",27 "type": "application/vnd.sas.job.execution.job"28 },29 {30 "method": "GET",31 "rel": "state",32 "href": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96/state",33 "uri": "/dataTables/jobs/cas~fs~jes~fs~9bb8f3b2-4787-4955-bc24-6635cd7c2e96/state",34 "type": "text/plain"35 },36 {37 "method": "GET",38 "rel": "targetTable",39 "href": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",40 "uri": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~MYCASLIB/tables/AIRLINES",41 "type": "application/vnd.sas.data.table"42 }43 ]44}
Name | Type | Required | Description |
---|---|---|---|
dataSourceId | string | true | The name of the data source. Its format is providerId |
tableId | string | true | The URL encoded (i.e. Percent encoded) form of the table's name. |
Name | Type | Required | Description |
---|---|---|---|
soft | boolean | false | True to perform a soft delete (such as a CAS table unload), false for a hard delete. Default: false |
wait | number<float> | false | This service implements "long poll", how long to wait for an update before returning anyway, in floating point seconds. The maximum is 30 seconds. Default: 0.5 |
sessionId | string | false | The unique identifier of the session used to access the data service provider's backing service. When this is not specified, the data service provider creates a temporary session, and then terminates it after the request is complete. If this is specified, all returned links, except the "self" link, have the sessionId query parameter added to their respective URIs. Also, they contain an additional session link to the application/vnd.sas.data.session resource that corresponds to the provided sessionId. |
Status | Meaning | Description | ||
---|---|---|---|---|
202 | Accepted | Accepted. The table deletion has not completed. | Headers | Schema |
204 | No Content | Created. The requested table has both been deleted, and its respective job is in the "completed" state. | Headers | |
400 | Bad Request | Bad request (the request is not well formed). | Schema | |
404 | Not Found | Not found - typically the data source could not be found. | Schema |