Edit a global Caslib

patch/servers/{serverName}/caslibs/{caslibName}
Internal-Use Only

Edits properties of an existing global Caslib. Session Caslib properties cannot be edited. Editable properties include the following: * description * path

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
caslibName
string
true

The name of the global Caslib to be edited.

serverName
string
true

Server name containing the global Caslib to be edited.

Query Parameters

NameTypeRequiredDescription
createDirectory
string
false

Indicates whether the leaf subdirectory of the path specified should be created when changing the path. If set to true, the directory will be created if it does not exist. Defaults to false.

sessionId
string
false

Session ID. Note that editing session-based caslibs is not supported. Passing sessionId is provided to avoid creating a new CAS session, improving performance of the call.

Request Body

A caslib object.

The representation of a caslib. Note that links are returned only for GET calls.

NameTypeRequiredDescription
attributes
array [Key/Value Array]
false

Contains an array of key/object pairs related to caslib type-specific settings. Supports simple object types (string, boolean, integer, long) as well as nested arrays. See reference documentation for specific caslib types to determine proper key/object pairs for defining a specific caslib.

description
string
false

Description of the caslib.

name
string
true

Name of the caslib.

metadataId
string
false

A read-only property containing the metadata ID assigned to this caslib.

path
string
false

The path of the caslib.

scope
string
false

The scope of the caslib. Valid values include session or global.

hidden
boolean
false

The hidden value of the caslib. True if this is a hidden caslib. False otherwise.

transient
boolean
false

The transient value of the caslib. True if this is a transient caslib. False otherwise.

type
string
true

Type of the Caslib. Valid values include any caslib type supported by the CAS server, such as Path, HDFS, DNFS, LASR, Teradata, Greenplum, and Oracle.

version
integer
false

The version of this object.

Responses

StatusMeaningDescription
200OKThe Caslib was edited successfully.
400Bad RequestThe request was invalid.Schema
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.
412Precondition FailedPrecondition Failed.Schema