Delete a table from source

delete/servers/{serverName}/caslibs/{caslibName}/tables/{tableName}
Internal-Use Only

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.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
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.

Query Parameters

NameTypeRequiredDescription
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.

Responses

StatusMeaningDescription
204No ContentThe source table was deleted.
404Not FoundThe requested CAS server or Caslib does not exist.
409ConflictThe request could not be completed due to a conflict with the current state of the resource. Details are included in the response body.