Set customer information

Sets information such as the library location description, address, and personal contact information of the library administrator.

Request syntax

Request body parameters

location (string, optional)

Physical location of the library, or null if not provided.

address (string, optional)

Physical address of the library, or null if not provided.

city (string, optional)

City in which the library is located, or null if not provided.

state (string, optional)

Two character State abbreviation in which the library is located, or null if not provided.

country (string, optional)

Country in which the library is located, or null if not provided.

contact (string, optional)

Name of the primary contact for the tape library. Used by IBM Support during repair and service. If not provided, this is null.

telephone (string, optional)

Primary telephone number for the primary contact. This is used by IBM Support during repair and service. If not provided, this is null.

secondaryTelephone (string, optional)

Secondary telephone number for the primary contact. This is used by IBM Support during repair and service. If not provided, this is null.

Example

> PATCH /v1/library {"location": "Area 51 Data center"}
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 0

Error handling

  • Returns 400 Bad Request if name length is greater than 15 characters or less than one character.
  • Returns 400 Bad Request if name contains anything other than alphanumeric or underscore, _, characters.