clock

Configures, modifies, or retrieves system time zone.

Resource URIs

URI Description
<base_URI>/config/running/clock Configure system time zone.
GET URIs
/rest/config/running/clock Configure System Timezone
/rest/config/running/clock/timezone

Timezone region or city. Regions are Africa, America, Antarctica, Arctic, Asia, Atlantic, Australia, Europe, Indian, and Pacific.

PATCH URIs Payload Description
/rest/config/running/clock <clock><timezone>(string)</timezone></clock> Modifies or updates the system time zone.
PUT URIs Payload Description
/rest/config/running/clock/timezone <timezone>(string)</timezone> Modifies or updates the system time zone.
DELETE URIs Payload Description
/rest/config/running/clock/timezone <timezone>(string)</timezone> Deletes the system time zone.

Parameters

timezone
Specifies the local clock time zone.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/clock

None

Response body
<clock xmlns="urn:brocade.com:mgmt:brocade-clock" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/clock">
  <timezone>Etc/GMT</timezone>
</clock>