Update a System

To update a system, send a JSON object with updated values for one or more of the writable system properties. Read-only properties are ignored. All property values from the previous version of this system are carried over by default, if not included in the hash.

Definition

PATCH https://listener-app-services.teradata.com/v1/systems/{system_id} HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X PATCH \
  -d '{
    "system_id": "9dda5570-70e0-45be-8449-83f33320cd08",
    "owner": ["jd123456"],
    "name": "My Updated System",
    "description": "A superb system",
    "system_type": "hadoop",
    "system_info": { "login": "ip112233", "port": "8080" },
    "state": "1"
  }' \
  -i \
  https://listener-app-services.teradata.com/v1/systems/9dda5570-70e0-45be-8449-83f33320cd08

Example Response

HTTP/1.1 200 OK
Content-Type: application/json
{
  "system_id": "9dda5570-70e0-45be-8449-83f33320cd08",
  "owner": ["jd123456"],
  "name": "My Updated System",
  "description": "A superb system",
  "system_type": "hadoop",
  "system_info": { "login": "ip112233", "port": "8080" },
  "state": "1"
}

Response Codes

CodeDescription
201System successfully updated.
400Required property missing from request.
401Authorization header not found.
404Resource not found.

results matching ""

    No results matching ""