Delete a table from source
Deletes a table from Caslib source. Note that is not an unload. This operation physically removes the source table (if the source is writable). For path-based caslibs, this physically removes the file.
Name | Type | Required | Description |
---|---|---|---|
caslibName | string | true | The Caslib name whose source contains the table. |
serverName | string | true | Server name containing the Caslib. |
tableName | string | true | The table name to be deleted. |
Name | Type | Required | Description |
---|---|---|---|
sessionId | string | false | Session ID (used when a session specific Caslib is being accessed). |
quiet | boolean | true | Return success even if source table does not exist. |
removeAcs | boolean | true | Remove access controls associated with the source table. |
sourceTableName | string | true | The source file name to delete. This name should be the sourceTableName returned by a GET on this table resource. In general, it must be a possible source file for the table being referenced. For example, if the URL references the table MYTABLE, deletion of yourtable.sashdat would not be allowed, but deletion of MyTable.sashdat would be permitted. Deletion of the source table for non-path-based caslibs is not supported. |
Status | Meaning | Description | ||
---|---|---|---|---|
204 | No Content | The source table was deleted. | ||
404 | Not Found | The requested CAS server or Caslib does not exist. | ||
409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. Details are included in the response body. |