Set xmetadata for a entity id and type. The value passed to xid or xmetadata will replace the existing xid or xmetadata values respectively. To remove xid or xmetadata, pass in null value.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.