Application Programming Interface Guide > Web Services Operations > Operations Reference > updateLink
 
updateLink
Update the definition of a link resource.
If the target resource does not exist, the link becomes impacted.
Location
/services/webservices/system/admin/resource/operations/
Request Elements
path: A fully qualified path to the resource.
detail: The level of detail about the resources to include in the response. Valid values are NONE, SIMPLE, and FULL.
targetPath (optional): The fully qualified path of the resource to link to. If not provided, the target path is left unaltered.
targetType (optional): The type of the resource to link to. If not provided, the target type is left unaltered. Only TABLE and PROCEDURE types allowed.
annotation (optional): A description of the resource. If not provided, the annotation is left unaltered.
Response Elements
resources: List of the updated resources. See Resources Element.
Faults
IllegalArgument: The path or targetPath is malformed, targetType, or detail are illegal.
NotAllowed: If the targetType is not allowed to be linked. Only TABLE and PROCEDURE resources can be used as the target of a link.
NotAllowed: If an attempt is made to update an input or output pipeline with an insufficient license.
NotFound: If the target resource or any portion of path does not exist.
Security: If the user does not have READ access on all items in path other than the last one.
Security: If the user does not have WRITE access to the last item in path.
Security: If the user does not have the ACCESS_TOOLS right.