Renames the node by assigning a new external name.
As a result of this operation, the externally-provided name previously used will become
inaccessible and the name provided by this operation must be used in all future requests
that access the node
by name.
This is a privileged operation.
Path Elements
+dimensionNode
string
|
The URI path to a specific dimension node (whether
by ID or
by name).
|
Example
- rename node referenced by ID
Request:
All_Cities
Response:
HTTP/1.1
204
NO CONTENT
Example
- rename node referenced by name
Request:
US-TX-Space_City
Response:
HTTP/1.1
204
NO CONTENT
Error
Example
- blank or missing new name
Request:
Response:
HTTP/1.1
400
BAD REQUEST
{
"errorID" : "DIM-001221",
"errorMessage": "Sorry, when renaming a node the new name must not be missing or blank.",
"requestID" : "DIM-0800200c9a66"
}
Error
Example
- name conflict with another node
Request:
US-TX-Austin
Response:
HTTP/1.1
409
CONFLICT
{
"errorID" : "DIM-001222",
"errorMessage": "Sorry, the node cannot be renamed 'US-TX-Austin' because
that name is already used. Please try again using a different name.",
"requestID" : "DIM-0800200c9a66"
}
Error
Example
- concurrent operations
Request:
US-TX-H-Town
Response:
HTTP/1.1
409
CONFLICT
{
"errorID" : "DIM-001220",
"errorMessage": "This operation could not be completed because the node was modified by another operation.",
"requestID" : "DIM-0800200c9a66"
}